diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-23 08:18:11 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-23 21:36:11 +0100 |
commit | ce1aab756c2d45e2b4d297cb98f45595c3dfcc54 (patch) | |
tree | 81a973a97a84b4387f5c4b6c1174b515fd544fcc /sys-freebsd | |
parent | app-text/atril: Fix CVE-2017-1000083 (diff) | |
download | gentoo-ce1aab756c2d45e2b4d297cb98f45595c3dfcc54.tar.gz gentoo-ce1aab756c2d45e2b4d297cb98f45595c3dfcc54.tar.bz2 gentoo-ce1aab756c2d45e2b4d297cb98f45595c3dfcc54.zip |
sys-freebsd/freebsd-lib: Backport Elf_Nhdr support needed for mesa
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch | 10 | ||||
-rw-r--r-- | sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild (renamed from sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild) | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch new file mode 100644 index 000000000000..a00df5f66f12 --- /dev/null +++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch @@ -0,0 +1,10 @@ +--- a/sys/sys/elf_common.h 2018/01/18 20:45:41 328136 ++++ b/sys/sys/elf_common.h 2018/01/18 21:19:57 328137 +@@ -51,6 +51,7 @@ + u_int32_t n_descsz; /* Length of descriptor. */ + u_int32_t n_type; /* Type of this note. */ + } Elf_Note; ++typedef Elf_Note Elf_Nhdr; + + /* + * Option kinds. diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild index 61bfeb3924f8..e28f2420c1f1 100644 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild @@ -174,6 +174,7 @@ src_prepare() { # patches "${WORKDIR}/include" cd "${WORKDIR}" epatch "${FILESDIR}/${PN}-includes.patch" + epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch" # Don't install the hesiod man page or header rm "${WORKDIR}"/include/hesiod.h || die |