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:
parent
f8fc63bdd4
commit
ac61165162
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159421
@ -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}
|
||||
|
11
games/xqf/files/patch-src-Makefile.in
Normal file
11
games/xqf/files/patch-src-Makefile.in
Normal 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 \
|
11
games/xqf/files/patch-src-xqf.map
Normal file
11
games/xqf/files/patch-src-xqf.map
Normal file
@ -0,0 +1,11 @@
|
||||
Index: src/xqf.map
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ src/xqf.map
|
||||
@@ -0,0 +1,6 @@
|
||||
+{
|
||||
+ global:
|
||||
+ *_xpm;
|
||||
+ local:
|
||||
+ *;
|
||||
+};
|
Loading…
Reference in New Issue
Block a user