From owner-svn-ports-head@freebsd.org Sun Feb 5 07:18:57 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 442EBCD1449; Sun, 5 Feb 2017 07:18:57 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id 04F0BB35; Sun, 5 Feb 2017 07:18:56 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v157IuN3031830; Sun, 5 Feb 2017 07:18:56 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v157IuQj031827; Sun, 5 Feb 2017 07:18:56 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702050718.v157IuQj031827@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 5 Feb 2017 07:18:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433376 - in head/games/super_methane_brothers: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 05 Feb 2017 07:18:57 -0000 Author: jbeich Date: Sun Feb 5 07:18:55 2017 New Revision: 433376 URL: https://svnweb.freebsd.org/changeset/ports/433376 Log: games/super_methane_brothers: use clang and unbreak with gcc5 or later sources/misc.cpp:43:65: error: narrowing conversion of '4294967248u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_0c = {SPR_ENDSPR_1+0x0c,0x0020,0xFFFFFFD0}; ^ sources/misc.cpp:46:65: error: narrowing conversion of '4294967282u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_0f = {SPR_ENDSPR_1+0x0f,0x005E,0xFFFFFFF2}; ^ sources/misc.cpp:47:65: error: narrowing conversion of '4294967290u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_10 = {SPR_ENDSPR_1+0x10,0x007E,0xFFFFFFFA}; ^ sources/misc.cpp:48:65: error: narrowing conversion of '4294967289u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_11 = {SPR_ENDSPR_1+0x11,0x008E,0xFFFFFFF9}; ^ sources/misc.cpp:50:65: error: narrowing conversion of '4294967291u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_13 = {SPR_ENDSPR_1+0x13,0x00B2,0xFFFFFFFB}; ^ sources/misc.cpp:51:65: error: narrowing conversion of '4294967290u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_14 = {SPR_ENDSPR_1+0x14,0x00C2,0xFFFFFFFA}; ^ sources/misc.cpp:60:65: error: narrowing conversion of '4294967280u' from 'unsigned int' to 'int' inside { } [-Wnarrowing] static PARTYOFFS party_1d = {SPR_ENDSPR_1+0x1d,0x0030,0xFFFFFFF0}; ^ PR: 216707 Reported by: antoine (via exp-run) Added: head/games/super_methane_brothers/files/patch-sources_misc.cpp (contents, props changed) Modified: head/games/super_methane_brothers/Makefile (contents, props changed) Modified: head/games/super_methane_brothers/Makefile ============================================================================== --- head/games/super_methane_brothers/Makefile Sun Feb 5 05:32:42 2017 (r433375) +++ head/games/super_methane_brothers/Makefile Sun Feb 5 07:18:55 2017 (r433376) @@ -3,7 +3,7 @@ PORTNAME= super_methane_brothers PORTVERSION= 1.5.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF/methane/Methane%20Stable/Methane%20V${PORTVERSION} DISTNAME= methane-${PORTVERSION} @@ -16,7 +16,6 @@ LICENSE= GPLv2 LIB_DEPENDS= libclan23Core.so:devel/clanlib USES= execinfo gmake pkgconfig tar:tgz -USE_GCC= yes MAKE_ENV= METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}" MAKE_JOBS_UNSAFE= yes Added: head/games/super_methane_brothers/files/patch-sources_misc.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/super_methane_brothers/files/patch-sources_misc.cpp Sun Feb 5 07:18:55 2017 (r433376) @@ -0,0 +1,33 @@ +--- sources/misc.cpp.orig 2009-04-28 14:42:43 UTC ++++ sources/misc.cpp +@@ -40,15 +40,15 @@ static PARTYOFFS party_08 = {SPR_ENDSPR_ + static PARTYOFFS party_09 = {SPR_ENDSPR_1+0x09,0x0048,0x0002}; + static PARTYOFFS party_0a = {SPR_ENDSPR_1+0x0a,0x0058,0x0002}; + static PARTYOFFS party_0b = {SPR_ENDSPR_1+0x0b,0x0000,0x0000}; +-static PARTYOFFS party_0c = {SPR_ENDSPR_1+0x0c,0x0020,0xFFFFFFD0}; ++static PARTYOFFS party_0c = {SPR_ENDSPR_1+0x0c,0x0020,0xFFFFFD0}; + static PARTYOFFS party_0d = {SPR_ENDSPR_1+0x0d,0x0040,0x0000}; + static PARTYOFFS party_0e = {SPR_ENDSPR_1+0x0e,0x0000,0x0000}; +-static PARTYOFFS party_0f = {SPR_ENDSPR_1+0x0f,0x005E,0xFFFFFFF2}; +-static PARTYOFFS party_10 = {SPR_ENDSPR_1+0x10,0x007E,0xFFFFFFFA}; +-static PARTYOFFS party_11 = {SPR_ENDSPR_1+0x11,0x008E,0xFFFFFFF9}; ++static PARTYOFFS party_0f = {SPR_ENDSPR_1+0x0f,0x005E,0xFFFFFF2}; ++static PARTYOFFS party_10 = {SPR_ENDSPR_1+0x10,0x007E,0xFFFFFFA}; ++static PARTYOFFS party_11 = {SPR_ENDSPR_1+0x11,0x008E,0xFFFFFF9}; + static PARTYOFFS party_12 = {SPR_ENDSPR_1+0x12,0x0092,0x000B}; +-static PARTYOFFS party_13 = {SPR_ENDSPR_1+0x13,0x00B2,0xFFFFFFFB}; +-static PARTYOFFS party_14 = {SPR_ENDSPR_1+0x14,0x00C2,0xFFFFFFFA}; ++static PARTYOFFS party_13 = {SPR_ENDSPR_1+0x13,0x00B2,0xFFFFFFB}; ++static PARTYOFFS party_14 = {SPR_ENDSPR_1+0x14,0x00C2,0xFFFFFFA}; + static PARTYOFFS party_15 = {SPR_ENDSPR_1+0x15,0x0000,0x0000}; + static PARTYOFFS party_16 = {SPR_ENDSPR_1+0x16,0x0020,0x0008}; + static PARTYOFFS party_17 = {SPR_ENDSPR_1+0x17,0x0020,0x0000}; +@@ -57,7 +57,7 @@ static PARTYOFFS party_19 = {SPR_ENDSPR_ + static PARTYOFFS party_1a = {SPR_ENDSPR_1+0x1a,0x0020,0x0000}; + static PARTYOFFS party_1b = {SPR_ENDSPR_1+0x1b,0x0000,0x0010}; + static PARTYOFFS party_1c = {SPR_ENDSPR_1+0x1c,0x0010,0x0}; +-static PARTYOFFS party_1d = {SPR_ENDSPR_1+0x1d,0x0030,0xFFFFFFF0}; ++static PARTYOFFS party_1d = {SPR_ENDSPR_1+0x1d,0x0030,0xFFFFFF0}; + + static PARTYOFFS *party_group1[] = { + &party_00,&party_01,&party_02,&party_00,&party_03,&party_04,0};