diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /emulators/vba | |
parent | - Allow for larger database UIDs (diff) |
- update png to 1.5.10
Notes
Notes:
svn path=/head/; revision=297915
Diffstat (limited to 'emulators/vba')
-rw-r--r-- | emulators/vba/Makefile | 9 | ||||
-rw-r--r-- | emulators/vba/files/patch-src-Util.cpp | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index b4918986cd8d..df0c17d77d32 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -6,7 +6,7 @@ PORTNAME= vba PORTVERSION= 1.7.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/VisualBoyAdvance/${PORTVERSION} DISTNAME= VisualBoyAdvance-src-${PORTVERSION} @@ -15,13 +15,16 @@ MAINTAINER= arundel@h3c.de COMMENT= Open Source Gameboy Advance emulator BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png +LIB_DEPENDS= png15:${PORTSDIR}/graphics/png WANT_GNOME= yes USE_GMAKE= yes GNU_CONFIGURE= yes USE_SDL= sdl -CONFIGURE_ARGS= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" LIBS="-lintl" +USE_GETTEXT= yes +LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ARGS= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" LIBS="-lintl" WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION} PLIST_SUB= INSTALL_GTK2="@comment " diff --git a/emulators/vba/files/patch-src-Util.cpp b/emulators/vba/files/patch-src-Util.cpp new file mode 100644 index 000000000000..d9c2d7f2ed3e --- /dev/null +++ b/emulators/vba/files/patch-src-Util.cpp @@ -0,0 +1,11 @@ +--- src/Util.cpp.orig 2004-05-20 19:42:37.000000000 +0200 ++++ src/Util.cpp 2012-05-02 20:49:07.000000000 +0200 +@@ -79,7 +79,7 @@ + return false; + } + +- if(setjmp(png_ptr->jmpbuf)) { ++ if(setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr,NULL); + fclose(fp); + return false; |