summaryrefslogtreecommitdiff
path: root/games/vamos/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/vamos/files')
-rw-r--r--games/vamos/files/patch-geometry::Ac3d.cc23
-rw-r--r--games/vamos/files/patch-include::vamos::geometry::Ac3d.h10
2 files changed, 33 insertions, 0 deletions
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>
+