diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-01-17 14:27:16 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-01-17 14:48:16 -0800 |
commit | 9e64f3c5696dfa34125cebd5255ee3b35cfac2df (patch) | |
tree | 774d64f2b51ca1870df8b370e72d51bca00f13ca /media-libs/libglvnd | |
parent | qmail.eclass: fix bad variable reference (diff) | |
download | gentoo-9e64f3c5696dfa34125cebd5255ee3b35cfac2df.tar.gz gentoo-9e64f3c5696dfa34125cebd5255ee3b35cfac2df.tar.bz2 gentoo-9e64f3c5696dfa34125cebd5255ee3b35cfac2df.zip |
media-libs/libglvnd: Add patch to fix test suite on HPPA
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libglvnd')
-rw-r--r-- | media-libs/libglvnd/files/libglvnd-1.3.0-tests-Add-_GLOBAL_OFFSET_TABLE_-to-PLATFORM_SYMBOLS.patch | 28 | ||||
-rw-r--r-- | media-libs/libglvnd/libglvnd-1.3.0.ebuild | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/libglvnd/files/libglvnd-1.3.0-tests-Add-_GLOBAL_OFFSET_TABLE_-to-PLATFORM_SYMBOLS.patch b/media-libs/libglvnd/files/libglvnd-1.3.0-tests-Add-_GLOBAL_OFFSET_TABLE_-to-PLATFORM_SYMBOLS.patch new file mode 100644 index 000000000000..f3492462ddb7 --- /dev/null +++ b/media-libs/libglvnd/files/libglvnd-1.3.0-tests-Add-_GLOBAL_OFFSET_TABLE_-to-PLATFORM_SYMBOLS.patch @@ -0,0 +1,28 @@ +From a322bd006c5e505a1a2406828211736a93c99924 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Wed, 15 Jan 2020 19:21:02 -0800 +Subject: [PATCH] tests: Add _GLOBAL_OFFSET_TABLE_ to PLATFORM_SYMBOLS + +On PA-RISC, the _GLOBAL_OFFSET_TABLE_ symbol is always exposed. See + +https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/elf32-hppa.c;h=2e653083ce05a77b3e33c056e2f9a51b327c2b22#l1001 +https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/hppa/dl-machine.h;h=9e98366ea3b09612d54a3e956d5c35c1bdc86560#l80 +--- + bin/symbols-check.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/bin/symbols-check.py b/bin/symbols-check.py +index 1c028e4..1548638 100644 +--- a/bin/symbols-check.py ++++ b/bin/symbols-check.py +@@ -30,6 +30,7 @@ import subprocess + + # This list contains symbols that _might_ be exported for some platforms + PLATFORM_SYMBOLS = [ ++ '_GLOBAL_OFFSET_TABLE_', + '__bss_end__', + '__bss_start__', + '__bss_start', +-- +2.24.1 + diff --git a/media-libs/libglvnd/libglvnd-1.3.0.ebuild b/media-libs/libglvnd/libglvnd-1.3.0.ebuild index cb18f71aa5c2..0da5d4de4b19 100644 --- a/media-libs/libglvnd/libglvnd-1.3.0.ebuild +++ b/media-libs/libglvnd/libglvnd-1.3.0.ebuild @@ -44,6 +44,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-meson-Fix-the-armv7-build.patch "${FILESDIR}"/${P}-meson-Fix-the-PPC64-build.patch + "${FILESDIR}"/${P}-tests-Add-_GLOBAL_OFFSET_TABLE_-to-PLATFORM_SYMBOLS.patch ) multilib_src_configure() { |