diff options
Diffstat (limited to 'games/ufoai')
-rw-r--r-- | games/ufoai/Makefile | 4 | ||||
-rw-r--r-- | games/ufoai/files/patch-images.c | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile index a4c41a1663f9..0376d9f91d63 100644 --- a/games/ufoai/Makefile +++ b/games/ufoai/Makefile @@ -7,7 +7,7 @@ PORTNAME= ufoai PORTVERSION= 2.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION} DISTNAME= ${PORTNAME:S/$/-/}${PORTVERSION}-source @@ -18,7 +18,7 @@ COMMENT= A strategy game featuring tactical combat LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \ jpeg.11:${PORTSDIR}/graphics/jpeg \ - png.6:${PORTSDIR}/graphics/png \ + png15:${PORTSDIR}/graphics/png \ curl:${PORTSDIR}/ftp/curl \ execinfo:${PORTSDIR}/devel/libexecinfo \ theora.0:${PORTSDIR}/multimedia/libtheora \ diff --git a/games/ufoai/files/patch-images.c b/games/ufoai/files/patch-images.c new file mode 100644 index 000000000000..b2983addf4ba --- /dev/null +++ b/games/ufoai/files/patch-images.c @@ -0,0 +1,10 @@ +--- src/shared/images.c.orig 2010-11-29 17:46:35.000000000 +0100 ++++ src/shared/images.c 2012-04-25 06:15:32.000000000 +0200 +@@ -32,6 +32,7 @@ + + #include <jpeglib.h> + #include <png.h> ++#include <zlib.h> + + /** image formats, tried in this order */ + static char *IMAGE_TYPES[] = { "tga", "png", "jpg", NULL }; |