[packages/opencv] - rel 6

2018-07-08 Thread arekm
commit 51573190a841c01f0376324c5137618ff162b406
Author: Arkadiusz Miśkiewicz 
Date:   Fri Jul 6 19:49:02 2018 +0200

- rel 6

 build.patch | 11 +++
 opencv.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/opencv.spec b/opencv.spec
index e99d742..814c69a 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -60,7 +60,7 @@ Summary:  A library of programming functions mainly aimed 
at real time computer v
 Summary(pl.UTF-8): Biblioteka funkcji do grafiki komputerowej w czasie 
rzeczywistym
 Name:  opencv
 Version:   3.4.1
-Release:   5
+Release:   6
 Epoch: 1
 %if %{with unicap} || %{with xine}
 License:   GPL (enforced by used libraries), BSD (opencv itself)
@@ -103,6 +103,7 @@ Patch0: ix86-pause.patch
 Patch1:%{name}-ximea.patch
 Patch2:cplusplus.patch
 Patch3:cmake-install-path.patch
+Patch4:build.patch
 URL:   http://www.opencv.org/
 %{?with_pvapi:BuildRequires:   AVT_GigE_SDK-devel}
 %{?with_opencl:BuildRequires:  OpenCL-devel}
@@ -330,6 +331,7 @@ Wiązania Pythona 3 do OpenCV.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 install -d build/{share/OpenCV/testdata/cv/face,downloads/xfeatures2d}
diff --git a/build.patch b/build.patch
new file mode 100644
index 000..6d0098e
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- opencv-3.4.1/modules/python/src2/cv2.cpp~  2018-02-23 09:38:33.0 
+0100
 opencv-3.4.1/modules/python/src2/cv2.cpp   2018-07-06 19:10:56.563061072 
+0200
+@@ -886,7 +886,7 @@ bool pyopencv_to(PyObject* obj, String&
+ (void)name;
+ if(!obj || obj == Py_None)
+ return true;
+-char* str = PyString_AsString(obj);
++char* str = (char *)PyString_AsString(obj);
+ if(!str)
+ return false;
+ value = String(str);


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/51573190a841c01f0376324c5137618ff162b406

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/opencv] - rel 6

2017-04-17 Thread baggins
commit 04c48a7a578145b5d3ecbfa9b81490afa3dcefa2
Author: Jan Rękorajski 
Date:   Mon Apr 17 14:26:34 2017 +0200

- rel 6

 opencv.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/opencv.spec b/opencv.spec
index 7aff00b..f9297ae 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -53,7 +53,7 @@ Summary:  A library of programming functions mainly aimed 
at real time computer v
 Summary(pl.UTF-8): Biblioteka funkcji do grafiki komputerowej w czasie 
rzeczywistym
 Name:  opencv
 Version:   3.1.0
-Release:   5.1
+Release:   6
 Epoch: 1
 %if %{with unicap} || %{with xine}
 License:   GPL (enforced by used libraries), BSD (opencv itself)


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/04c48a7a578145b5d3ecbfa9b81490afa3dcefa2

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit