From 13221b956169f89c9d5444956f5e0703abb54c52 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 6 Jan 2018 06:01:14 +0000 Subject: [PATCH] MFH: r458224 games/aquaria: unbreak with LLD by default Linking with LLD currently fails due to preemption of symbols with protected visibility in a shared object: /usr/bin/ld: error: cannot preempt symbol: alGetSourcei >>> defined in /usr/local/lib/libopenal.so >>> referenced by BBGE/FmodOpenALBridge.cpp >>> CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*)) /usr/bin/ld: error: cannot preempt symbol: alSourceUnqueueBuffers >>> defined in /usr/local/lib/libopenal.so >>> referenced by BBGE/FmodOpenALBridge.cpp >>> CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*)) [...] For now set LLD_UNSAFE=yes so that the port will continue to link with ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a change in openal-soft or in lld). Reported by: antoine (via bug 214864) Approved by: ports-secteam blanket --- games/aquaria/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/games/aquaria/Makefile b/games/aquaria/Makefile index ad61f79925a7..3f42b3f1808c 100644 --- a/games/aquaria/Makefile +++ b/games/aquaria/Makefile @@ -37,6 +37,7 @@ CMAKE_ARGS+= -DAQUARIA_DEFAULT_DATA_DIR="${DATADIR}" \ -DAQUARIA_INTERNAL_TINYXML2=off \ -DAQUARIA_INTERNAL_ZLIB=off LDFLAGS+= -Wl,--as-needed # avoid overlinking (vorbis deps) +LLD_UNSAFE= yes # XXX ports/219089 SUB_FILES= pkg-message PLIST_FILES= bin/aquaria PORTDATA= *