1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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
This commit is contained in:
Maxime Henrion 2006-04-13 14:11:34 +00:00
parent f8fc63bdd4
commit ac61165162
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159421
3 changed files with 23 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xqf
PORTVERSION= 1.0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -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 \

View File

@ -0,0 +1,11 @@
Index: src/xqf.map
===================================================================
--- /dev/null
+++ src/xqf.map
@@ -0,0 +1,6 @@
+{
+ global:
+ *_xpm;
+ local:
+ *;
+};