tags 385712 + patch
kthxbye

With the following patch, the errors are gone.  *However*, since my
setup is not quite the same as Martin's[0], I noticed that the build
system will regenerate the makefile (due to a different compiler).
Since the makefile has been customized, the package does not build
completely.

Nonetheless, I am confident that my patch works.

[0] I simply set the CC and CXX variables, because I'm working on my
laptop, where I don't want to mess things up too much.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
Screw you, AACS LA: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
OpenPGP: RSA v3 2048b 560553E7: FE82 7C9F EB21 5436 2F96 25BA 927B 0A51
diff -ur moagg.old/libMoaggCore/include/Exception.h moagg-0.18/libMoaggCore/include/Exception.h
--- moagg.old/libMoaggCore/include/Exception.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/Exception.h	2007-05-07 18:14:44.000000000 +0000
@@ -1,7 +1,7 @@
 #ifndef EXCEPTION_H
 #define EXCEPTION_H
 
-#include <iosfwd>
+#include <iostream>
 #include <string>
 
 //----------------------------------------------------------------------------
diff -ur moagg.old/libMoaggCore/include/MathTools.h moagg-0.18/libMoaggCore/include/MathTools.h
--- moagg.old/libMoaggCore/include/MathTools.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/MathTools.h	2007-05-07 18:24:52.000000000 +0000
@@ -62,6 +62,8 @@
         double m_x;
         double m_y;
     };
+    Vector operator+(const Vector &v1, const Vector &v2);
+    Vector operator-(const Vector &v1, const Vector &v2);
 
 
     //------------------------------------------------------------------------
diff -ur moagg.old/libMoaggCore/include/Tools.h moagg-0.18/libMoaggCore/include/Tools.h
--- moagg.old/libMoaggCore/include/Tools.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/Tools.h	2007-05-16 19:08:35.000000000 +0000
@@ -34,13 +34,8 @@
 
 
 //----------------------------------------------------------------------------
-#if defined __GNUC__ && ! defined __LINT__
-#define MIN(X, Y) ((X) <? (Y))
-#define MAX(X, Y) ((X) >? (Y))
-#else
 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
-#endif //!__GNUC__
 
 //----------------------------------------------------------------------------
 #define ZAP_POINTER(p) delete p; p = NULL;

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-games-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Reply via email to