aboutsummaryrefslogtreecommitdiff
path: root/games/xglk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /games/xglk
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'games/xglk')
-rw-r--r--games/xglk/Makefile4
-rw-r--r--games/xglk/files/patch-xglk_pict.c11
2 files changed, 13 insertions, 2 deletions
diff --git a/games/xglk/Makefile b/games/xglk/Makefile
index 5090c8793faf..f08577920af7 100644
--- a/games/xglk/Makefile
+++ b/games/xglk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xglk
PORTVERSION= 411
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.ifarchive.org/if-archive/programming/glk/implementations/
DISTNAME= ${PORTNAME}-0${PORTVERSION}
@@ -18,7 +18,7 @@ COMMENT= X Windows Implementation of the Glk API
WRKSRC= ${WRKDIR}/${PORTNAME}
-LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg png15:${PORTSDIR}/graphics/png
USE_XORG= x11
diff --git a/games/xglk/files/patch-xglk_pict.c b/games/xglk/files/patch-xglk_pict.c
new file mode 100644
index 000000000000..4249ca2c01c1
--- /dev/null
+++ b/games/xglk/files/patch-xglk_pict.c
@@ -0,0 +1,11 @@
+--- xglk_pict.c.orig 1999-08-26 20:42:12.000000000 +0200
++++ xglk_pict.c 2012-04-29 07:14:20.000000000 +0200
+@@ -385,7 +385,7 @@
+ return NULL;
+ }
+
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we jump here, we had a problem reading the file */
+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+ if (rowarray)