summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-gcc4.4.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-23 18:00:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-23 23:30:10 -0500
commita53c59c4da94d3403500a9396a3391b0de673a47 (patch)
treefb12967fd6818c6b0d0fef5aacc2a162231bb49e /libraries/opencv/opencv-gcc4.4.patch
parentba5daa58d0d363ee26511faec0952ec5c82fc8bf (diff)
downloadslackbuilds-a53c59c4da94d3403500a9396a3391b0de673a47.tar.gz
libraries/opencv: Miscellaneous cleanups and patches.
Clean up builds and add patches for gcc4.4 and libpng14
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
+