diff options
Diffstat (limited to 'games/quake2max')
-rw-r--r-- | games/quake2max/Makefile | 4 | ||||
-rw-r--r-- | games/quake2max/files/patch-ref_gl__sul_png.c | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/games/quake2max/Makefile b/games/quake2max/Makefile index f8b499aed7db..c26dcf6b2a16 100644 --- a/games/quake2max/Makefile +++ b/games/quake2max/Makefile @@ -7,7 +7,7 @@ PORTNAME= quake2max PORTVERSION= 0.45 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://qudos.quakedev.com/linux/quake2/engines/Quake2MaX/:src \ ${MASTER_SITE_LOCAL:S/$/:data/} @@ -48,7 +48,7 @@ Q2MAX_DATA= ${PORTNAME}.044.rar .if defined(WITH_GLX) || defined(WITH_SDLGL) LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \ - png.6:${PORTSDIR}/graphics/png + png15:${PORTSDIR}/graphics/png USE_GL= yes .endif diff --git a/games/quake2max/files/patch-ref_gl__sul_png.c b/games/quake2max/files/patch-ref_gl__sul_png.c new file mode 100644 index 000000000000..9061bd5a9a32 --- /dev/null +++ b/games/quake2max/files/patch-ref_gl__sul_png.c @@ -0,0 +1,11 @@ +--- ref_gl/sul_png.c.orig 2005-12-27 10:57:45.000000000 +0100 ++++ ref_gl/sul_png.c 2012-04-29 06:53:31.000000000 +0200 +@@ -177,7 +177,7 @@ + return; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_write_struct(&png_ptr, &info_ptr); + free(rgbdata); |