slackbuilds_ponce/libraries/opencv/opencv-gcc4.4.patch
dsomero a53c59c4da libraries/opencv: Miscellaneous cleanups and patches.
Clean up builds and add patches for gcc4.4 and libpng14
2010-05-23 23:30:10 -05:00

12 lines
394 B
Diff

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