aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opencv/opencv/debian/010_python_cspec.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opencv/opencv/debian/010_python_cspec.diff')
-rw-r--r--recipes/opencv/opencv/debian/010_python_cspec.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/opencv/opencv/debian/010_python_cspec.diff b/recipes/opencv/opencv/debian/010_python_cspec.diff
new file mode 100644
index 0000000000..94e35f35a8
--- /dev/null
+++ b/recipes/opencv/opencv/debian/010_python_cspec.diff
@@ -0,0 +1,13 @@
+Index: opencv-1.0.0/configure.in
+===================================================================
+--- opencv-1.0.0.orig/configure.in 2006-11-14 10:47:47.000000000 +0100
++++ opencv-1.0.0/configure.in 2006-11-14 10:50:22.000000000 +0100
+@@ -656,6 +656,8 @@
+ with_swig=yes
+ fi
+
++ PYTHON_CSPEC="$PYTHON_CSPEC -fno-strict-aliasing"
++
+ ### almost ok... just need to check if we have the Python headers ###
+
+ # first, save the CPPFLAGS