diff options
author | Piotr Rogoża | 2016-12-14 20:40:10 +0100 |
---|---|---|
committer | Piotr Rogoża | 2016-12-14 20:40:10 +0100 |
commit | af3d1f543c894328d12da70f77111e5b9236917a (patch) | |
tree | eed72fdd35db8f5669b41e8c449dc2bc03144cc3 /opencv.patch | |
parent | 5466fa0b675e97074818f48e5fe254b853c02801 (diff) | |
download | aur-af3d1f543c894328d12da70f77111e5b9236917a.tar.gz |
Upgraded to 2.5.0
Diffstat (limited to 'opencv.patch')
-rw-r--r-- | opencv.patch | 23 |
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() |