summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/opencv/opencv-gcc4.4.patch')
-rw-r--r--libraries/opencv/opencv-gcc4.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/opencv/opencv-gcc4.4.patch b/libraries/opencv/opencv-gcc4.4.patch
new file mode 100644
index 0000000000..9621b32bcc
--- /dev/null
+++ b/libraries/opencv/opencv-gcc4.4.patch
@@ -0,0 +1,12 @@
+diff -U 3 -H -d -r -N -- opencv-1.1.0.old/cxcore/include/cxmisc.h opencv-1.1.0/cxcore/include/cxmisc.h
+--- opencv-1.1.0.old/cxcore/include/cxmisc.h 2008-07-29 15:05:04.000000000 -0400
++++ opencv-1.1.0/cxcore/include/cxmisc.h 2010-05-23 17:23:44.000000000 -0400
+@@ -130,7 +130,7 @@
+ #include <alloca.h>
+ #elif defined HAVE_ALLOCA
+ #include <stdlib.h>
+-#elif
++#else
+ #error
+ #endif
+