From owner-svn-ports-head@freebsd.org Mon Jan 7 09:02:22 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF866148BDFC; Mon, 7 Jan 2019 09:02:22 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6594F82DEB; Mon, 7 Jan 2019 09:02:22 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59242DA30; Mon, 7 Jan 2019 09:02:22 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0792MAa083724; Mon, 7 Jan 2019 09:02:22 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0792Lvk083722; Mon, 7 Jan 2019 09:02:21 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201901070902.x0792Lvk083722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 7 Jan 2019 09:02:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489566 - in head/emulators/vba: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/emulators/vba: . files X-SVN-Commit-Revision: 489566 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6594F82DEB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2019 09:02:23 -0000 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(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 + };