diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-25 20:16:33 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-25 20:16:33 +0000 |
commit | c254ba3b0afce3a59a4c286264e30de94d50d66f (patch) | |
tree | 8ae5997ebca81ff73247756b82d619cef3b479d1 /media-libs/opencv/files | |
parent | Fix building with GCC 4.4 wrt #278079. (diff) | |
download | gentoo-2-c254ba3b0afce3a59a4c286264e30de94d50d66f.tar.gz gentoo-2-c254ba3b0afce3a59a4c286264e30de94d50d66f.tar.bz2 gentoo-2-c254ba3b0afce3a59a4c286264e30de94d50d66f.zip |
Fix building with GCC 4.4 wrt #274261.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/opencv/files')
-rw-r--r-- | media-libs/opencv/files/opencv-1.0.0-gcc44.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/opencv/files/opencv-1.0.0-gcc44.patch b/media-libs/opencv/files/opencv-1.0.0-gcc44.patch new file mode 100644 index 000000000000..be7e67916b65 --- /dev/null +++ b/media-libs/opencv/files/opencv-1.0.0-gcc44.patch @@ -0,0 +1,12 @@ +diff -ur opencv-1.0.0.orig/cxcore/include/cxmisc.h opencv-1.0.0/cxcore/include/cxmisc.h +--- opencv-1.0.0.orig/cxcore/include/cxmisc.h 2006-05-04 18:55:17.000000000 +0300 ++++ opencv-1.0.0/cxcore/include/cxmisc.h 2009-07-25 23:13:51.000000000 +0300 +@@ -130,7 +130,7 @@ + #include <alloca.h> + #elif defined HAVE_ALLOCA + #include <stdlib.h> +-#elif ++#else + #error + #endif + |