summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pokerth/files/pokerth-1.1.1-underlinking.patch')
-rw-r--r--games-board/pokerth/files/pokerth-1.1.1-underlinking.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-board/pokerth/files/pokerth-1.1.1-underlinking.patch b/games-board/pokerth/files/pokerth-1.1.1-underlinking.patch
new file mode 100644
index 000000000000..397fb7d6c1bc
--- /dev/null
+++ b/games-board/pokerth/files/pokerth-1.1.1-underlinking.patch
@@ -0,0 +1,20 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu Aug 16 22:25:12 UTC 2012
+Subject: build system
+
+fix compilation for linkers that don't permit underlinking
+reorder linker line to fix issues with as-needed
+
+--- pokerth_server.pro
++++ pokerth_server.pro
+@@ -114,8 +114,8 @@
+ LIBS += -lpokerth_lib \
+ -lpokerth_db \
+ -lpokerth_protocol \
+- -lcurl \
+- -lircclient
++ -lircclient \
++ $$system(pkg-config --libs --static libcurl)
+
+ win32 {
+ DEFINES += CURL_STATICLIB