diff options
author | danfe <danfe@FreeBSD.org> | 2010-05-23 20:38:45 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2010-05-23 20:38:45 +0800 |
commit | a4a32ff124e8ac113ba349afbcc948ea69443743 (patch) | |
tree | 4d4cd297bfc116e3029655894a6f1e17848d2413 /games | |
parent | f27373ec5d487707e6236c5f417b436f4339e814 (diff) | |
download | freebsd-ports-gnome-a4a32ff124e8ac113ba349afbcc948ea69443743.tar.gz freebsd-ports-gnome-a4a32ff124e8ac113ba349afbcc948ea69443743.tar.zst freebsd-ports-gnome-a4a32ff124e8ac113ba349afbcc948ea69443743.zip |
Fix function signature to match that of libpng 1.4. While the game seems to
be playable without this change, bump PORTREVISION just to be safe. Package
is not built by default anyways.
PR: ports/146150
Diffstat (limited to 'games')
-rw-r--r-- | games/nexuiz/Makefile | 5 | ||||
-rw-r--r-- | games/xonotic/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile index b94b90e7bedf..7a1a535d6528 100644 --- a/games/nexuiz/Makefile +++ b/games/nexuiz/Makefile @@ -7,7 +7,7 @@ PORTNAME= nexuiz PORTVERSION= 2.5.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/NexuizRelease/Nexuiz%20${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -88,6 +88,9 @@ post-patch: ${WRKSRC}/${MAKEFILE} ${WRKSRC}/makefile.inc @${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \ ${WRKSRC}/makefile.inc +# Fix for libpng 1.4 + @${REINPLACE_CMD} -e 's,gray_1_2_4_to_8,expand_&,g' \ + ${WRKSRC}/image_png.c do-install: ${SH} -c '${FIND} ${WRKSRC} -name "darkplaces-*[^vpj]" | \ diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile index b94b90e7bedf..7a1a535d6528 100644 --- a/games/xonotic/Makefile +++ b/games/xonotic/Makefile @@ -7,7 +7,7 @@ PORTNAME= nexuiz PORTVERSION= 2.5.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/NexuizRelease/Nexuiz%20${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -88,6 +88,9 @@ post-patch: ${WRKSRC}/${MAKEFILE} ${WRKSRC}/makefile.inc @${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \ ${WRKSRC}/makefile.inc +# Fix for libpng 1.4 + @${REINPLACE_CMD} -e 's,gray_1_2_4_to_8,expand_&,g' \ + ${WRKSRC}/image_png.c do-install: ${SH} -c '${FIND} ${WRKSRC} -name "darkplaces-*[^vpj]" | \ |