Date: Mon, 7 Jan 2019 09:02:21 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489566 - in head/emulators/vba: . files Message-ID: <201901070902.x0792Lvk083722@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Mon Jan 7 09:02:21 2019 New Revision: 489566 URL: https://svnweb.freebsd.org/changeset/ports/489566 Log: emulators/vba: Mark Un'BROKEN While here, set LICENSE_FILE. PR: 234497 Reviewed by: koobs, mat Approved by: mat (mentor) Approved by: portmgr (blanket: build/run fixes, ports compliance) Differential Revision: https://reviews.freebsd.org/D18687 Added: head/emulators/vba/files/patch-src_Cheats.cpp (contents, props changed) Modified: head/emulators/vba/Makefile Modified: head/emulators/vba/Makefile ============================================================================== --- head/emulators/vba/Makefile Mon Jan 7 09:00:28 2019 (r489565) +++ head/emulators/vba/Makefile Mon Jan 7 09:02:21 2019 (r489566) @@ -12,8 +12,7 @@ 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 Added: head/emulators/vba/files/patch-src_Cheats.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/vba/files/patch-src_Cheats.cpp Mon Jan 7 09:02:21 2019 (r489566) @@ -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<u8>(address & 255), ++ static_cast<u8>((address >> 8) & 255), ++ static_cast<u8>((address >> 16) & 255), ++ static_cast<u8>((address >> 24) & 255), ++ static_cast<u8>((value & 255)), ++ static_cast<u8>((value >> 8) & 255), + 0, + 0 + };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901070902.x0792Lvk083722>