aboutsummaryrefslogtreecommitdiff
path: root/games/scummvm-tools
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/scummvm-tools
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'games/scummvm-tools')
-rw-r--r--games/scummvm-tools/Makefile6
-rw-r--r--games/scummvm-tools/files/patch-encode_dxa.cpp10
2 files changed, 13 insertions, 3 deletions
diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile
index 8dc97bf5d6cc..11c9979b5661 100644
--- a/games/scummvm-tools/Makefile
+++ b/games/scummvm-tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scummvm-tools
DISTVERSION= 1.0.0rc1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games emulators
MASTER_SITES= SF/scummvm/${PORTNAME}/${DISTVERSION}
@@ -20,7 +20,7 @@ BUILD_DEPENDS= lame:${PORTSDIR}/audio/lame \
oggenc:${PORTSDIR}/audio/vorbis-tools \
oggdec:${PORTSDIR}/audio/vorbis-tools \
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
@@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
MAKE_JOBS_SAFE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-CXXFLAGS= -I${LOCALBASE}/include
+CXXFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
OPTIONS= WX "Build wxWidgets GUI" On
diff --git a/games/scummvm-tools/files/patch-encode_dxa.cpp b/games/scummvm-tools/files/patch-encode_dxa.cpp
new file mode 100644
index 000000000000..08dbb53b08d0
--- /dev/null
+++ b/games/scummvm-tools/files/patch-encode_dxa.cpp
@@ -0,0 +1,10 @@
+--- encode_dxa.cpp.orig 2009-08-23 15:44:34.000000000 +0200
++++ encode_dxa.cpp 2012-04-29 06:59:57.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include "util.h"
+
+ #include <png.h>
++#include <pngpriv.h>
+
+ const uint32 typeDEXA = 0x41584544;
+ const uint32 typeFRAM = 0x4d415246;