summaryrefslogtreecommitdiff
path: root/games/xqf/files
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2006-04-13 14:11:34 +0000
committerMaxime Henrion <mux@FreeBSD.org>2006-04-13 14:11:34 +0000
commitac61165162d69ea8688b56205dbc3b92dd8f4240 (patch)
treedd7eef5b70ea492739d2422aae4f585ed4a46ed5 /games/xqf/files
parentPass maintainer-ship to the submitter of the latest update. (diff)
Apply a patch found on the sourceforce project page for XQF, that fixes
loading the pixmaps bundled in the binary with recent GCC versions. XQF would just crash at startup without this fix. Reviewed by: pav
Diffstat (limited to 'games/xqf/files')
-rw-r--r--games/xqf/files/patch-src-Makefile.in11
-rw-r--r--games/xqf/files/patch-src-xqf.map11
2 files changed, 22 insertions, 0 deletions
diff --git a/games/xqf/files/patch-src-Makefile.in b/games/xqf/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..482efc93ba71
--- /dev/null
+++ b/games/xqf/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Thu Apr 13 15:51:27 2006
++++ src/Makefile.in Thu Apr 13 15:51:37 2006
+@@ -313,7 +313,7 @@
+ $(GDK_PIXBUF_LIBS) \
+ -lz
+
+-xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir)
++xqf_LDFLAGS = -Wl,-rpath,$(pkglibdir) -Wl,--export-dynamic -Wl,--version-script=$(top_srcdir)/src/xqf.map
+
+ # we need to specify all deps manually due to dummy libs
+ xqf_DEPENDENCIES = $(top_builddir)/src/zip/libunzip.a \
diff --git a/games/xqf/files/patch-src-xqf.map b/games/xqf/files/patch-src-xqf.map
new file mode 100644
index 000000000000..9fa7ea51d210
--- /dev/null
+++ b/games/xqf/files/patch-src-xqf.map
@@ -0,0 +1,11 @@
+Index: src/xqf.map
+===================================================================
+--- /dev/null
++++ src/xqf.map
+@@ -0,0 +1,6 @@
++{
++ global:
++ *_xpm;
++ local:
++ *;
++};