Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 23:45:30 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373382 - in head/games/gillo: . files
Message-ID:  <201411242345.sAONjUqN067397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 24 23:45:29 2014
New Revision: 373382
URL: https://svnweb.freebsd.org/changeset/ports/373382
QAT: https://qat.redports.org/buildarchive/r373382/

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Fix UB caused by absent return statements which leads to crashes on 10.0+
  - Drop @dirrm* from plist

Added:
  head/games/gillo/files/patch-src__context.cpp   (contents, props changed)
  head/games/gillo/files/patch-src__game.cpp   (contents, props changed)
  head/games/gillo/files/patch-src__menu.cpp   (contents, props changed)
Modified:
  head/games/gillo/Makefile
  head/games/gillo/pkg-plist

Modified: head/games/gillo/Makefile
==============================================================================
--- head/games/gillo/Makefile	Mon Nov 24 23:07:17 2014	(r373381)
+++ head/games/gillo/Makefile	Mon Nov 24 23:45:29 2014	(r373382)
@@ -11,7 +11,8 @@ DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Players are cars throwing a magnetic fuzzy ball into a goal
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${JAM}:${PORTSDIR}/devel/jam \
 		${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode \

Added: head/games/gillo/files/patch-src__context.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gillo/files/patch-src__context.cpp	Mon Nov 24 23:45:29 2014	(r373382)
@@ -0,0 +1,11 @@
+--- src/context.cpp.orig	2005-07-19 03:25:16.000000000 +0400
++++ src/context.cpp	2014-11-24 16:07:54.000000000 +0300
+@@ -247,7 +247,7 @@
+ 
+ ssgSimpleState* Context::getState(int stateid)
+ {
+-	this->states.getStep(stateid);
++	return this->states.getStep(stateid);
+ }
+ 
+ void Context::addToPool(ssgEntity* obj)

Added: head/games/gillo/files/patch-src__game.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gillo/files/patch-src__game.cpp	Mon Nov 24 23:45:29 2014	(r373382)
@@ -0,0 +1,18 @@
+--- src/game.cpp.orig	2005-07-19 03:25:16.000000000 +0400
++++ src/game.cpp	2014-11-24 16:13:27.000000000 +0300
+@@ -54,6 +54,8 @@
+   attractionStautsP2(0.00, 0, 0.18, 0.08, TEX_ATTRACT),
+   attractionStautsP1(0.82, 0, 1.00, 0.08, TEX_ATTRACT)
+ {
++	dInitODE();
++
+ 	this->context.setGravity(0,0,ODE_WORLD_GRAVITY);// @fixme remove this
+ 	/* ODE setup */
+ // 	dWorldSetERP (context.getWid(), 0.9);
+@@ -990,5 +992,6 @@
+ 	}else {
+ 		//@fixme throw something
+ 	}
++	return false;
+ }
+ };

Added: head/games/gillo/files/patch-src__menu.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gillo/files/patch-src__menu.cpp	Mon Nov 24 23:45:29 2014	(r373382)
@@ -0,0 +1,10 @@
+--- src/menu.cpp.orig	2005-07-19 03:25:16.000000000 +0400
++++ src/menu.cpp	2014-11-24 16:08:56.000000000 +0300
+@@ -341,6 +341,7 @@
+ 	} else {
+ 		//@fixme throw something
+ 	}
++	return false;
+ }
+ 
+ };

Modified: head/games/gillo/pkg-plist
==============================================================================
--- head/games/gillo/pkg-plist	Mon Nov 24 23:07:17 2014	(r373381)
+++ head/games/gillo/pkg-plist	Mon Nov 24 23:45:29 2014	(r373382)
@@ -75,4 +75,3 @@ bin/gillo3
 %%DATADIR%%/training.mod
 %%DATADIR%%/wheelstripes.rgb
 %%DATADIR%%/zzap.wav
-@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411242345.sAONjUqN067397>