summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/aqsis/files/aqsis-1.4.2-gcc44.patch')
-rw-r--r--media-gfx/aqsis/files/aqsis-1.4.2-gcc44.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/aqsis/files/aqsis-1.4.2-gcc44.patch b/media-gfx/aqsis/files/aqsis-1.4.2-gcc44.patch
new file mode 100644
index 000000000000..fcb35d134493
--- /dev/null
+++ b/media-gfx/aqsis/files/aqsis-1.4.2-gcc44.patch
@@ -0,0 +1,57 @@
+diff -ur aqsis-1.4.2.orig/aqsistypes/logging.cpp aqsis-1.4.2/aqsistypes/logging.cpp
+--- aqsis-1.4.2.orig/aqsistypes/logging.cpp 2009-01-21 23:12:32.000000000 +0200
++++ aqsis-1.4.2/aqsistypes/logging.cpp 2009-08-07 19:08:35.000000000 +0300
+@@ -21,6 +21,8 @@
+ #include "logging.h"
+ #include "logging_streambufs.h"
+
++#include <stdio.h>
++
+ #include <iostream>
+ #include <sstream>
+ #include <vector>
+diff -ur aqsis-1.4.2.orig/displays/d_xpm/aspXpm.cpp aqsis-1.4.2/displays/d_xpm/aspXpm.cpp
+--- aqsis-1.4.2.orig/displays/d_xpm/aspXpm.cpp 2009-01-21 23:12:32.000000000 +0200
++++ aqsis-1.4.2/displays/d_xpm/aspXpm.cpp 2009-08-07 19:10:14.000000000 +0300
+@@ -1,5 +1,6 @@
+ #include "aspXpm.h"
+
++#include <stdio.h>
+ #include <string.h>
+
+ aspXpm::aspXpm( const char *filename, int width, int height, int bpp )
+diff -ur aqsis-1.4.2.orig/renderer/render/condition.cpp aqsis-1.4.2/renderer/render/condition.cpp
+--- aqsis-1.4.2.orig/renderer/render/condition.cpp 2009-01-21 23:12:32.000000000 +0200
++++ aqsis-1.4.2/renderer/render/condition.cpp 2009-08-07 19:14:34.000000000 +0300
+@@ -31,6 +31,8 @@
+ #include "renderer.h"
+ #include "logging.h"
+
++#include <stdio.h>
++
+ #include <cstring>
+
+ namespace Aqsis {
+diff -ur aqsis-1.4.2.orig/shadercompiler/shaderexecenv/shadeops_tmap.cpp aqsis-1.4.2/shadercompiler/shaderexecenv/shadeops_tmap.cpp
+--- aqsis-1.4.2.orig/shadercompiler/shaderexecenv/shadeops_tmap.cpp 2009-01-21 23:12:32.000000000 +0200
++++ aqsis-1.4.2/shadercompiler/shaderexecenv/shadeops_tmap.cpp 2009-08-07 19:12:14.000000000 +0300
+@@ -25,6 +25,8 @@
+
+ #include "aqsis.h"
+
++#include <stdio.h>
++
+ #ifdef AQSIS_SYSTEM_WIN32
+ #include <io.h>
+ #endif
+diff -ur aqsis-1.4.2.orig/texturing/teqser/teqser.cpp aqsis-1.4.2/texturing/teqser/teqser.cpp
+--- aqsis-1.4.2.orig/texturing/teqser/teqser.cpp 2009-01-21 23:12:32.000000000 +0200
++++ aqsis-1.4.2/texturing/teqser/teqser.cpp 2009-08-07 19:17:42.000000000 +0300
+@@ -23,6 +23,7 @@
+ \author Paul C. Gregory (pgregory@aqsis.org)
+ */
+
++#include <cstdio>
+ #include <cstdlib>
+ #include <cstring>
+ #include <memory>