From owner-svn-ports-all@freebsd.org Fri Jun 22 20:33:56 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 43B421026860; Fri, 22 Jun 2018 20:33:56 +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 D6982807B4; Fri, 22 Jun 2018 20:33:55 +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 B8CE825AA6; Fri, 22 Jun 2018 20:33:55 +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 w5MKXtan079613; Fri, 22 Jun 2018 20:33:55 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5MKXtOu079612; Fri, 22 Jun 2018 20:33:55 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806222033.w5MKXtOu079612@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 22 Jun 2018 20:33:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473068 - in head/games/numptyphysics: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/numptyphysics: . files X-SVN-Commit-Revision: 473068 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: Fri, 22 Jun 2018 20:33:56 -0000 Author: amdmi3 Date: Fri Jun 22 20:33:55 2018 New Revision: 473068 URL: https://svnweb.freebsd.org/changeset/ports/473068 Log: - Add missing dependency - Fix build with clang 6 Added: head/games/numptyphysics/files/patch-Game.cpp (contents, props changed) Modified: head/games/numptyphysics/Makefile Modified: head/games/numptyphysics/Makefile ============================================================================== --- head/games/numptyphysics/Makefile Fri Jun 22 20:32:35 2018 (r473067) +++ head/games/numptyphysics/Makefile Fri Jun 22 20:33:55 2018 (r473068) @@ -16,12 +16,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 desktop-file-utils GNU_CONFIGURE= yes USE_SDL= sdl image +USE_XORG= x11 INSTALLS_ICONS= yes CONFIGURE_ENV= AUTOMAKE="${TRUE}" ACLOCAL="${TRUE}" MISSING="${TRUE}" LDFLAGS+= -L${LOCALBASE}/lib -lpthread CPPFLAGS+= -I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\" +CXXFLAGS+= -Wno-c++11-narrowing + WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= MOREFPS @@ -41,6 +44,6 @@ post-patch-MOREFPS-on: ${WRKSRC}/Config.h post-build: - ${STRIP_CMD} ${WRKSRC}/${PORTNAME} + @${STRIP_CMD} ${WRKSRC}/${PORTNAME} .include Added: head/games/numptyphysics/files/patch-Game.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/numptyphysics/files/patch-Game.cpp Fri Jun 22 20:33:55 2018 (r473068) @@ -0,0 +1,11 @@ +--- Game.cpp.orig 2008-11-11 16:54:38 UTC ++++ Game.cpp +@@ -1495,7 +1495,7 @@ void init( bool useDummyVideo=false ) + throw "Couldn't initialize SDL"; + } + +- if ( mkdir( (string(getenv("HOME"))+"/"USER_BASE_PATH).c_str(), ++ if ( mkdir( (string(getenv("HOME"))+"/" USER_BASE_PATH).c_str(), + 0755)==0 ) { + printf("created user dir\n"); + } else if ( errno==EEXIST ){