summaryrefslogtreecommitdiff
path: root/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch')
-rw-r--r--games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch
new file mode 100644
index 000000000000..31b27de1d569
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch
@@ -0,0 +1,10 @@
+Even if not actually used, ensure all symbols are available when linking
+tests to handle cases where unused symbols were not optimized out.
+https://bugs.gentoo.org/894702
+--- a/SConstruct
++++ b/SConstruct
+@@ -172,4 +172,2 @@
+ CPPPATH=(env.get('CPPPATH', []) + [pathjoin('tests', 'unit', 'include')]),
+- # Do not link against the actual implementations of SDL, OpenGL, etc.
+- LIBS=sys_libs,
+ # Pass the necessary link flags for a console program.