summarylogtreecommitdiffstats
path: root/opencv.patch
diff options
context:
space:
mode:
authorPiotr Rogoża2016-12-14 20:40:10 +0100
committerPiotr Rogoża2016-12-14 20:40:10 +0100
commitaf3d1f543c894328d12da70f77111e5b9236917a (patch)
treeeed72fdd35db8f5669b41e8c449dc2bc03144cc3 /opencv.patch
parent5466fa0b675e97074818f48e5fe254b853c02801 (diff)
downloadaur-af3d1f543c894328d12da70f77111e5b9236917a.tar.gz
Upgraded to 2.5.0
Diffstat (limited to 'opencv.patch')
-rw-r--r--opencv.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/opencv.patch b/opencv.patch
new file mode 100644
index 000000000000..0c99157ee0a4
--- /dev/null
+++ b/opencv.patch
@@ -0,0 +1,23 @@
+diff --git a/configure.py b/configure.py
+index f17db980..debc9197 100644
+--- a/configure.py
++++ b/configure.py
+@@ -14,14 +14,14 @@ os.system(" ".join([config.sip_bin, "-c", ".", "-b", build_file, "oqapy_iproc.si
+ # Create the Makefile.
+ makefile = sipconfig.SIPModuleMakefile(config, build_file)
+
+-makefile.extra_lib_dirs=["/usr/lib", "/usr/lib/x86_64-linux-gnu/"]
++makefile.extra_lib_dirs=["/usr/lib", "/usr/lib/x86_64-linux-gnu/", "../src/oqapy-iproc.0.1.0"]
+
+ # Add the library we are wrapping. The name doesn't include any platform
+ # specific prefixes or extensions (e.g. the "lib" prefix on UNIX, or the
+ # ".dll" extension on Windows).
+-makefile.extra_libs = ["opencv_core", "opencv_highgui", "opencv_imgproc",
+- "opencv_legacy", "opencv_contrib", "opencv_features2d",
+- "opencv_ml", "opencv_gpu", "oqapy-iproc"]
++makefile.extra_libs = ["opencv_core", "opencv_highgui", "opencv_imgproc",
++ "opencv_features2d",
++ "opencv_ml", "oqapy-iproc"]
+
+ # Generate the Makefile itself.
+ makefile.generate()