aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/vamos/Makefile2
-rw-r--r--games/vamos/distinfo2
-rw-r--r--games/vamos/files/patch-geometry::Ac3d.cc23
-rw-r--r--games/vamos/files/patch-include::vamos::geometry::Ac3d.h10
4 files changed, 35 insertions, 2 deletions
diff --git a/games/vamos/Makefile b/games/vamos/Makefile
index 0c9db58f74a2..bf0ee4627eb5 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= vamos
-PORTVERSION= 0.4.0
+PORTVERSION= 0.4.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/games/vamos/distinfo b/games/vamos/distinfo
index 1ad5aaf5b81b..80f9c038325c 100644
--- a/games/vamos/distinfo
+++ b/games/vamos/distinfo
@@ -1 +1 @@
-MD5 (vamos-0.4.0.tar.gz) = 771934c27dc97dc81bf4ce2ddf9a2c0c
+MD5 (vamos-0.4.1.tar.gz) = 9ad34cf09ed4e4dd15df726f214172cd
diff --git a/games/vamos/files/patch-geometry::Ac3d.cc b/games/vamos/files/patch-geometry::Ac3d.cc
new file mode 100644
index 000000000000..9a651177ba6a
--- /dev/null
+++ b/games/vamos/files/patch-geometry::Ac3d.cc
@@ -0,0 +1,23 @@
+--- geometry/Ac3d.cc.orig Mon Sep 29 11:30:40 2003
++++ geometry/Ac3d.cc Fri Oct 3 18:35:35 2003
+@@ -26,6 +26,8 @@
+ #include <cassert>
+ #include <iostream>
+ #include <cstdlib>
++#include <algorithm>
++#include <functional>
+
+ using namespace Vamos_Geometry;
+
+@@ -256,7 +258,11 @@
+ m_normal [2] = 1.0;
+
+ std::istringstream is (type_code);
++#if defined(__GNUC__) && __GNUC__ < 3
++ is.setf (std::ios::hex, std::ios::basefield);
++#else
+ is.setf (std::ios_base::hex, std::ios_base::basefield);
++#endif
+ int code;
+ is >> code;
+
diff --git a/games/vamos/files/patch-include::vamos::geometry::Ac3d.h b/games/vamos/files/patch-include::vamos::geometry::Ac3d.h
new file mode 100644
index 000000000000..9382b1d8a500
--- /dev/null
+++ b/games/vamos/files/patch-include::vamos::geometry::Ac3d.h
@@ -0,0 +1,10 @@
+--- include/vamos/geometry/Ac3d.h.orig Fri Sep 26 11:25:48 2003
++++ include/vamos/geometry/Ac3d.h Fri Oct 3 18:09:20 2003
+@@ -25,6 +25,7 @@
+
+ #include <GL/gl.h>
+
++#include <fstream>
+ #include <string>
+ #include <vector>
+