Index: head/emulators/vba/Makefile =================================================================== --- head/emulators/vba/Makefile (revision 489565) +++ head/emulators/vba/Makefile (revision 489566) @@ -1,69 +1,68 @@ # Created by: Alexander Best # $FreeBSD$ PORTNAME= vba PORTVERSION= 1.7.2 PORTREVISION= 13 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/VisualBoyAdvance/${PORTVERSION} DISTNAME= VisualBoyAdvance-src-${PORTVERSION} MAINTAINER= arundel@h3c.de COMMENT= Open source Gameboy Advance emulator LICENSE= GPLv2 - -BROKEN= fails to build +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libpng.so:graphics/png BROKEN_powerpc= Runaway cc1plus process BROKEN_sparc64= Runaway cc1plus process USES= gettext gmake GNU_CONFIGURE= yes USE_SDL= sdl CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lintl WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION} SUB_FILES= pkg-message DATA_FILES= ${WRKSRC}/src/VisualBoyAdvance.cfg PROG_FILES= ${WRKSRC}/src/sdl/VisualBoyAdvance PORTDOCS= AUTHORS NEWS README ChangeLog OPTIONS_DEFINE= DOCS GTK2 PROFILING OPTIONS_SUB= yes PROFILING_DESC= Enable profiling GTK2_CONFIGURE_ON= --enable-gtk=2.4 GTK2_LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 GTK2_USES= pkgconfig PROFILING_CONFIGURE_ENABLE= profiling .include .if ${PORT_OPTIONS:MGTK2} PROG_FILES+= ${WRKSRC}/src/gtk/gvba GTK2_DATA_FILES= ${WRKSRC}/src/gtk/vba.glade .endif post-patch: @${REINPLACE_CMD} -e '/for(int i = 0; i < 16; i++/s| i|&_|g' \ ${WRKSRC}/src/sdl/debugger.cpp do-install: ${INSTALL_PROGRAM} ${PROG_FILES} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MGTK2} ${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance .endif ${SED} -e 's|filter=0|filter=1|' ${DATA_FILES} > ${DATA_FILES}-default ${INSTALL_DATA} ${DATA_FILES}-default ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/emulators/vba/files/patch-src_Cheats.cpp =================================================================== --- head/emulators/vba/files/patch-src_Cheats.cpp (nonexistent) +++ head/emulators/vba/files/patch-src_Cheats.cpp (revision 489566) @@ -0,0 +1,21 @@ +--- src/Cheats.cpp.orig 2018-12-29 21:27:02 UTC ++++ src/Cheats.cpp +@@ -1344,12 +1344,12 @@ void cheatsAddCBACode(const char *code, const char *de + sscanf(buffer, "%x", &value); + + u8 array[8] = { +- address & 255, +- (address >> 8) & 255, +- (address >> 16) & 255, +- (address >> 24) & 255, +- (value & 255), +- (value >> 8) & 255, ++ static_cast(address & 255), ++ static_cast((address >> 8) & 255), ++ static_cast((address >> 16) & 255), ++ static_cast((address >> 24) & 255), ++ static_cast((value & 255)), ++ static_cast((value >> 8) & 255), + 0, + 0 + }; Property changes on: head/emulators/vba/files/patch-src_Cheats.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property