From owner-svn-ports-all@freebsd.org Mon Feb 15 16:44:52 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D411D531AE9; Mon, 15 Feb 2021 16:44:52 +0000 (UTC) (envelope-from pkubaj@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DfVM85fDnz4mTc; Mon, 15 Feb 2021 16:44:52 +0000 (UTC) (envelope-from pkubaj@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 B0AB3210D1; Mon, 15 Feb 2021 16:44:52 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11FGiqRF072041; Mon, 15 Feb 2021 16:44:52 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11FGiqeP072039; Mon, 15 Feb 2021 16:44:52 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202102151644.11FGiqeP072039@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 15 Feb 2021 16:44:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565317 - in head/games/libretro-bluemsx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/games/libretro-bluemsx: . files X-SVN-Commit-Revision: 565317 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 16:44:52 -0000 Author: pkubaj Date: Mon Feb 15 16:44:52 2021 New Revision: 565317 URL: https://svnweb.freebsd.org/changeset/ports/565317 Log: games/libretro-bluemsx: fix build on powerpc64le Src/SoundChips/OpenMsxYM2413.cpp:331:10: error: constant expression evaluates to -3 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 7, 3, 0,-3,-7,-3, 0, 3, Since it should also fix build on other architectures with unsigned char, unbreak on aarch64 and riscv64 (untested). Added: head/games/libretro-bluemsx/files/ head/games/libretro-bluemsx/files/patch-Src_SoundChips_OpenMsxYM2413.cpp (contents, props changed) Modified: head/games/libretro-bluemsx/Makefile Modified: head/games/libretro-bluemsx/Makefile ============================================================================== --- head/games/libretro-bluemsx/Makefile Mon Feb 15 16:31:32 2021 (r565316) +++ head/games/libretro-bluemsx/Makefile Mon Feb 15 16:44:52 2021 (r565317) @@ -9,9 +9,6 @@ COMMENT= Port of blueMSX to the libretro API LICENSE= GPLv3 -BROKEN_aarch64= error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing] -BROKEN_riscv64= error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing] - USES= compiler:c++11-lib gmake USE_LDCONFIG= yes Added: head/games/libretro-bluemsx/files/patch-Src_SoundChips_OpenMsxYM2413.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libretro-bluemsx/files/patch-Src_SoundChips_OpenMsxYM2413.cpp Mon Feb 15 16:44:52 2021 (r565317) @@ -0,0 +1,11 @@ +--- Src/SoundChips/OpenMsxYM2413.cpp.orig 2021-02-15 16:41:14 UTC ++++ Src/SoundChips/OpenMsxYM2413.cpp +@@ -304,7 +304,7 @@ static const byte lfo_am_table[LFO_AM_TAB_ELEMENTS] = + }; + + // LFO Phase Modulation table (verified on real YM2413) +-static const char lfo_pm_table[8 * 8] = ++static const signed char lfo_pm_table[8 * 8] = + { + // FNUM2/FNUM = 0 00xxxxxx (0x0000) + 0, 0, 0, 0, 0, 0, 0, 0,