--- /dev/null
+--- opencv-3.4.1/modules/python/src2/cv2.cpp~ 2018-02-23 09:38:33.000000000 +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);
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)
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}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
install -d build/{share/OpenCV/testdata/cv/face,downloads/xfeatures2d}