summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfiesh <weiss@wsoptics.de>2016-02-02 14:08:20 (GMT)
committerfiesh <weiss@wsoptics.de>2016-02-08 09:34:07 (GMT)
commit8d4936fdbfa07d122fed78e96111912f3f297869 (patch)
tree0e1b76cc5adbb429fed6e68f7e637b909965c230
parentb45184e1a26273258d1c901b5e1d9ee274e96243 (diff)
downloadmxe-8d4936fdbfa07d122fed78e96111912f3f297869.zip
mxe-8d4936fdbfa07d122fed78e96111912f3f297869.tar.gz
mxe-8d4936fdbfa07d122fed78e96111912f3f297869.tar.bz2
add Coin bug fix from Gentoo
-rw-r--r--src/coin-2-gcc-4.7.patch16
-rw-r--r--src/coin-test.cpp2
2 files changed, 17 insertions, 1 deletions
diff --git a/src/coin-2-gcc-4.7.patch b/src/coin-2-gcc-4.7.patch
new file mode 100644
index 0000000..28a9d93
--- /dev/null
+++ b/src/coin-2-gcc-4.7.patch
@@ -0,0 +1,16 @@
+This file is part of MXE.
+See index.html for further information.
+
+This patch was taken from Gentoo:
+https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/coin/files/coin-3.1.3-gcc-4.7.patch?id=17d7c853393ff83e3422e48e9ad2810f23889bbf
+
+--- coin3-3.1.3.orig/include/Inventor/SbBasic.h
++++ coin3-3.1.3/include/Inventor/SbBasic.h
+@@ -24,6 +24,7 @@
+ *
+ \**************************************************************************/
+
++#include <Inventor/C/errors/debugerror.h>
+ #include <Inventor/C/basic.h>
+
+ /* ********************************************************************** */
diff --git a/src/coin-test.cpp b/src/coin-test.cpp
index 0974407..be5eacf 100644
--- a/src/coin-test.cpp
+++ b/src/coin-test.cpp
@@ -3,7 +3,7 @@
* See index.html for further information.
*/
-#include <Inventor/C/errors/debugerror.h>
+#include <Inventor/SbBasic.h>
#include <Inventor/nodes/SoCone.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoMaterial.h>