From owner-svn-ports-head@freebsd.org Sun Sep 2 05:49:10 2018 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 A6CB6FE5E4E; Sun, 2 Sep 2018 05:49:10 +0000 (UTC) (envelope-from tobik@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 4EE5B8BC04; Sun, 2 Sep 2018 05:49:10 +0000 (UTC) (envelope-from tobik@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 3AD2D152B4; Sun, 2 Sep 2018 05:49:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w825nAPk055414; Sun, 2 Sep 2018 05:49:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w825n9oB055411; Sun, 2 Sep 2018 05:49:09 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809020549.w825n9oB055411@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Sep 2018 05:49:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478755 - in head/games/etracer: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/games/etracer: . files X-SVN-Commit-Revision: 478755 X-SVN-Commit-Repository: ports 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.27 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, 02 Sep 2018 05:49:10 -0000 Author: tobik Date: Sun Sep 2 05:49:09 2018 New Revision: 478755 URL: https://svnweb.freebsd.org/changeset/ports/478755 Log: games/etracer builds fine with Clang with a couple of extra patches While here - Take maintainership - Improve pkg-descr PR: 230744 Submitted by: tobik Approved by: peter_dunning@dsl.pipex.com (maintainer timeout, 2 weeks) Added: head/games/etracer/files/ head/games/etracer/files/patch-quadtree.cpp (contents, props changed) head/games/etracer/files/patch-spx.h (contents, props changed) Modified: head/games/etracer/Makefile head/games/etracer/pkg-descr Modified: head/games/etracer/Makefile ============================================================================== --- head/games/etracer/Makefile Sun Sep 2 05:20:31 2018 (r478754) +++ head/games/etracer/Makefile Sun Sep 2 05:49:09 2018 (r478755) @@ -3,24 +3,26 @@ PORTNAME= etracer PORTVERSION= 0.6.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/extremetuxracer/releases/${PORTVERSION} DISTNAME= etr-${PORTVERSION} -MAINTAINER= peter_dunning@dsl.pipex.com -COMMENT= Latest and greatest fork of the classic Tux Racer +MAINTAINER= tobik@FreeBSD.org +COMMENT= Extreme Tux Racer LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 +USES= compiler gmake localbase pkgconfig tar:xz tcl USE_SDL= mixer sdl image -USE_GCC= yes USE_GL= gl glu -USES= gmake pkgconfig tar:xz tcl -CPPFLAGS+= -I${LOCALBASE}/include + GNU_CONFIGURE= yes + +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing .include Added: head/games/etracer/files/patch-quadtree.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/etracer/files/patch-quadtree.cpp Sun Sep 2 05:49:09 2018 (r478755) @@ -0,0 +1,16 @@ +quadtree.cpp:860:29: error: ordered comparison between pointer and zero + ('TTexture *' and 'int') + if (TerrList[j].texture > 0) { + ~~~~~~~~~~~~~~~~~~~ ^ ~ + +--- quadtree.cpp.orig 2018-08-19 09:03:02 UTC ++++ quadtree.cpp +@@ -857,7 +857,7 @@ void quadsquare::Render (const quadcornerdata& cd, GLu + } + + for (size_t j=0; j 0) { ++ if (TerrList[j].texture != 0) { + Course.TerrList[j].texture->Bind(); + + for (GLuint i=0; i + #include + #include ++#include + + using namespace std; + Modified: head/games/etracer/pkg-descr ============================================================================== --- head/games/etracer/pkg-descr Sun Sep 2 05:20:31 2018 (r478754) +++ head/games/etracer/pkg-descr Sun Sep 2 05:49:09 2018 (r478755) @@ -1,5 +1,5 @@ -This is a port for Extreme Tux Racer, the latest fork of the classic Tux Racer, -which involves racing downhill as tux. -Extreme Tux Racer contains many new courses, cups and other features. +Extreme Tux Racer, the latest fork of the classic Tux Racer, involves +racing downhill as Tux. Extreme Tux Racer contains many new courses, +cups and other features. WWW: https://sourceforge.net/projects/extremetuxracer/