summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/openmesh/files/QGLViewerWidget-hh-gcc-4.3-include-fix.patch')
-rw-r--r--media-gfx/openmesh/files/QGLViewerWidget-hh-gcc-4.3-include-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-gfx/openmesh/files/QGLViewerWidget-hh-gcc-4.3-include-fix.patch b/media-gfx/openmesh/files/QGLViewerWidget-hh-gcc-4.3-include-fix.patch
new file mode 100644
index 000000000000..f6be7bab8dad
--- /dev/null
+++ b/media-gfx/openmesh/files/QGLViewerWidget-hh-gcc-4.3-include-fix.patch
@@ -0,0 +1,18 @@
+diff -urN a/OpenMesh/Apps/QtViewer/QGLViewerWidget.hh b/OpenMesh/Apps/QtViewer/QGLViewerWidget.hh
+--- a/OpenMesh/Apps/QtViewer/QGLViewerWidget.hh 2008-07-01 09:05:13.000000000 -0400
++++ b/OpenMesh/Apps/QtViewer/QGLViewerWidget.hh 2009-04-17 16:38:31.099766294 -0400
+@@ -36,11 +36,11 @@
+ //== INCLUDES =================================================================
+
+
+-#include <OpenMesh/Core/Geometry/VectorT.hh>
+-#include <QtOpenGL/qgl.h>
+-#include <string>
++#include <cstring>
+ #include <vector>
+ #include <map>
++#include <OpenMesh/Core/Geometry/VectorT.hh>
++#include <QtOpenGL/qgl.h>
+
+
+ //== FORWARD DECLARATIONS =====================================================