From owner-svn-ports-all@freebsd.org Mon May 14 18:54:36 2018 Return-Path: Delivered-To: svn-ports-all@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 D7E19E58353; Mon, 14 May 2018 18:54:36 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BC5A6A85C; Mon, 14 May 2018 18:54:36 +0000 (UTC) (envelope-from amdmi3@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 6D019201D2; Mon, 14 May 2018 18:54:36 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4EIsaOL096657; Mon, 14 May 2018 18:54:36 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4EIsZFc096654; Mon, 14 May 2018 18:54:35 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201805141854.w4EIsZFc096654@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 14 May 2018 18:54:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469950 - in head/games/sdl-ball: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/sdl-ball: . files X-SVN-Commit-Revision: 469950 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.26 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, 14 May 2018 18:54:37 -0000 Author: amdmi3 Date: Mon May 14 18:54:35 2018 New Revision: 469950 URL: https://svnweb.freebsd.org/changeset/ports/469950 Log: - Fix build with clang60 Added: head/games/sdl-ball/files/patch-main.cpp (contents, props changed) head/games/sdl-ball/files/patch-menu.cpp (contents, props changed) Modified: head/games/sdl-ball/Makefile Modified: head/games/sdl-ball/Makefile ============================================================================== --- head/games/sdl-ball/Makefile Mon May 14 18:47:41 2018 (r469949) +++ head/games/sdl-ball/Makefile Mon May 14 18:54:35 2018 (r469950) @@ -20,7 +20,7 @@ USES= dos2unix gmake tar:xz USE_SDL= sdl mixer image ttf USE_GL= gl glu MAKE_ENV= DATADIR=${DATADIR}/ -DOS2UNIX_FILES= main.cpp +DOS2UNIX_FILES= main.cpp menu.cpp PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ Added: head/games/sdl-ball/files/patch-main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/sdl-ball/files/patch-main.cpp Mon May 14 18:54:35 2018 (r469950) @@ -0,0 +1,11 @@ +--- main.cpp.orig 2018-05-14 18:46:05 UTC ++++ main.cpp +@@ -3762,7 +3762,7 @@ int main (int argc, char *argv[]) { + + difficulty = static_difficulty; + +- cout << "SDL-Ball v "VERSION << endl; ++ cout << "SDL-Ball v " VERSION << endl; + + // default to "" (If this have a 0 len after trying to getenv, it defaults to ./) + privFile.programRoot = ""; Added: head/games/sdl-ball/files/patch-menu.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/sdl-ball/files/patch-menu.cpp Mon May 14 18:54:35 2018 (r469950) @@ -0,0 +1,11 @@ +--- menu.cpp.orig 2016-08-25 16:21:38 UTC ++++ menu.cpp +@@ -204,7 +204,7 @@ public: + switch(t) + { + case 0: +- sprintf(highScores[t], "SDL-BALL v "VERSION ); ++ sprintf(highScores[t], "SDL-BALL v " VERSION ); + break; + case 1: + sprintf(highScores[t], "-----------------------");