ports/54801: Update port: games/vamos
KATO Tsuguru
tkato at prontomail.com
Thu Jul 24 11:20:20 UTC 2003
>Number: 54801
>Category: ports
>Synopsis: Update port: games/vamos
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 24 04:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build on -current
New file:
files/patch-body::Drivetrain.cc
files/patch-body::Suspension.cc
files/patch-body::Transmission.cc
files/patch-geometry::Gl_Texture_Image.cc
files/patch-geometry::Linear_Interpolator.cc
files/patch-geometry::Material.cc
files/patch-geometry::Spline.cc
files/patch-track::Road_Segment.cc
files/patch-track::Strip_Track.cc
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/vamos/Makefile games/vamos/Makefile
--- /usr/ports/games/vamos/Makefile Mon Jun 23 10:00:48 2003
+++ games/vamos/Makefile Thu Jul 24 12:05:53 2003
@@ -22,6 +22,7 @@
USE_MESA= yes
USE_GETOPT_LONG= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -32,5 +33,10 @@
${PTHREAD_CFLAGS}
LDFLAGS= -L${X11BASE}/lib -L${X11BASE}/lib -lGL -lGLU -lglut \
${PTHREAD_LIBS}
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^CXXFLAGS/d' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ '/^AM_CXXFLAGS/d'
.include <bsd.port.mk>
diff -urN /usr/ports/games/vamos/files/patch-body::Drivetrain.cc games/vamos/files/patch-body::Drivetrain.cc
--- /usr/ports/games/vamos/files/patch-body::Drivetrain.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-body::Drivetrain.cc Thu Jul 24 01:31:57 2003
@@ -0,0 +1,11 @@
+--- body/Drivetrain.cc.orig Fri Jan 24 08:44:48 2003
++++ body/Drivetrain.cc Thu Jul 24 01:31:46 2003
+@@ -20,6 +20,8 @@
+
+ #include <vamos/body/Drivetrain.h>
+
++#include <cassert>
++
+ //* Class Drivetrain
+
+ //** Constructor
diff -urN /usr/ports/games/vamos/files/patch-body::Suspension.cc games/vamos/files/patch-body::Suspension.cc
--- /usr/ports/games/vamos/files/patch-body::Suspension.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-body::Suspension.cc Thu Jul 24 01:32:49 2003
@@ -0,0 +1,11 @@
+--- body/Suspension.cc.orig Fri Jan 24 08:44:47 2003
++++ body/Suspension.cc Thu Jul 24 01:32:35 2003
+@@ -20,6 +20,8 @@
+
+ #include <vamos/geometry/Conversions.h>
+ #include <vamos/body/Suspension.h>
++
++#include <cassert>
+ #include <cmath>
+
+ using Vamos_Geometry::Three_Vector;
diff -urN /usr/ports/games/vamos/files/patch-body::Transmission.cc games/vamos/files/patch-body::Transmission.cc
--- /usr/ports/games/vamos/files/patch-body::Transmission.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-body::Transmission.cc Thu Jul 24 01:33:15 2003
@@ -0,0 +1,11 @@
+--- body/Transmission.cc.orig Tue Jan 7 10:56:29 2003
++++ body/Transmission.cc Thu Jul 24 01:33:03 2003
+@@ -19,6 +19,8 @@
+ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ #include <vamos/body/Transmission.h>
++
++#include <cassert>
+ #include <iostream>
+
+ //* Constructors
diff -urN /usr/ports/games/vamos/files/patch-geometry::Gl_Texture_Image.cc games/vamos/files/patch-geometry::Gl_Texture_Image.cc
--- /usr/ports/games/vamos/files/patch-geometry::Gl_Texture_Image.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-geometry::Gl_Texture_Image.cc Thu Jul 24 01:30:02 2003
@@ -0,0 +1,11 @@
+--- geometry/Gl_Texture_Image.cc.orig Thu May 29 07:28:16 2003
++++ geometry/Gl_Texture_Image.cc Thu Jul 24 01:29:49 2003
+@@ -18,6 +18,8 @@
+ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ #include <vamos/geometry/Gl_Texture_Image.h>
++
++#include <cassert>
+ #include <iostream>
+
+ Vamos_Geometry::
diff -urN /usr/ports/games/vamos/files/patch-geometry::Linear_Interpolator.cc games/vamos/files/patch-geometry::Linear_Interpolator.cc
--- /usr/ports/games/vamos/files/patch-geometry::Linear_Interpolator.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-geometry::Linear_Interpolator.cc Thu Jul 24 01:30:31 2003
@@ -0,0 +1,10 @@
+--- geometry/Linear_Interpolator.cc.orig Fri May 30 12:08:56 2003
++++ geometry/Linear_Interpolator.cc Thu Jul 24 01:30:16 2003
+@@ -19,6 +19,7 @@
+
+ #include <vamos/geometry/Linear_Interpolator.h>
+
++#include <cassert>
+ #include <cmath>
+
+ Vamos_Geometry::
diff -urN /usr/ports/games/vamos/files/patch-geometry::Material.cc games/vamos/files/patch-geometry::Material.cc
--- /usr/ports/games/vamos/files/patch-geometry::Material.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-geometry::Material.cc Thu Jul 24 01:30:57 2003
@@ -0,0 +1,11 @@
+--- geometry/Material.cc.orig Mon May 12 04:50:28 2003
++++ geometry/Material.cc Thu Jul 24 01:30:44 2003
+@@ -17,6 +17,8 @@
+
+ #include <vamos/geometry/Material.h>
+ #include <vamos/geometry/Conversions.h>
++
++#include <cassert>
+ #include <iostream>
+
+ Vamos_Geometry::Material::
diff -urN /usr/ports/games/vamos/files/patch-geometry::Spline.cc games/vamos/files/patch-geometry::Spline.cc
--- /usr/ports/games/vamos/files/patch-geometry::Spline.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-geometry::Spline.cc Thu Jul 24 01:31:17 2003
@@ -0,0 +1,10 @@
+--- geometry/Spline.cc.orig Fri May 30 13:34:43 2003
++++ geometry/Spline.cc Thu Jul 24 01:31:07 2003
+@@ -19,6 +19,7 @@
+
+ #include <vamos/geometry/Spline.h>
+
++#include <cassert>
+ #include <cmath>
+
+ // Construct an empty curve.
diff -urN /usr/ports/games/vamos/files/patch-track::Road_Segment.cc games/vamos/files/patch-track::Road_Segment.cc
--- /usr/ports/games/vamos/files/patch-track::Road_Segment.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-track::Road_Segment.cc Thu Jul 24 01:29:09 2003
@@ -0,0 +1,10 @@
+--- track/Road_Segment.cc.orig Thu Jun 12 11:06:40 2003
++++ track/Road_Segment.cc Thu Jul 24 01:28:58 2003
+@@ -20,6 +20,7 @@
+
+ #include <GL/glut.h>
+
++#include <cassert>
+ #include <cmath>
+
+ using namespace Vamos_Geometry;
diff -urN /usr/ports/games/vamos/files/patch-track::Strip_Track.cc games/vamos/files/patch-track::Strip_Track.cc
--- /usr/ports/games/vamos/files/patch-track::Strip_Track.cc Thu Jan 1 09:00:00 1970
+++ games/vamos/files/patch-track::Strip_Track.cc Thu Jul 24 01:29:32 2003
@@ -0,0 +1,10 @@
+--- track/Strip_Track.cc.orig Thu Jun 12 11:06:34 2003
++++ track/Strip_Track.cc Thu Jul 24 01:29:20 2003
+@@ -23,6 +23,7 @@
+
+ #include <GL/glu.h>
+
++#include <cassert>
+ #include <cmath>
+ #include <sstream>
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list