diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
commit | 530706893f31269bbfa303e069f2e76cbbe2fce7 (patch) | |
tree | a8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /games/xglk | |
parent | 9d262811a145d3e715edefd1d5d64ceac41de547 (diff) | |
download | freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip |
- update png to 1.5.10
Diffstat (limited to 'games/xglk')
-rw-r--r-- | games/xglk/Makefile | 4 | ||||
-rw-r--r-- | games/xglk/files/patch-xglk_pict.c | 11 |
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) |