Control: tags 914752 + pending

Dear maintainer,

I've prepared an NMU for opencv (versioned as 3.2.0+dfsg-4.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards,

_g.
diff -Nru opencv-3.2.0+dfsg/debian/changelog opencv-3.2.0+dfsg/debian/changelog
--- opencv-3.2.0+dfsg/debian/changelog	2018-07-11 22:59:18.000000000 +0200
+++ opencv-3.2.0+dfsg/debian/changelog	2018-11-28 12:03:29.000000000 +0100
@@ -1,3 +1,10 @@
+opencv (3.2.0+dfsg-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches: Fix building with python3.7.1 (Closes: #914752)
+
+ -- Gilles Filippini <p...@debian.org>  Wed, 28 Nov 2018 12:03:29 +0100
+
 opencv (3.2.0+dfsg-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru opencv-3.2.0+dfsg/debian/patches/python3.7.1.patch opencv-3.2.0+dfsg/debian/patches/python3.7.1.patch
--- opencv-3.2.0+dfsg/debian/patches/python3.7.1.patch	1970-01-01 01:00:00.000000000 +0100
+++ opencv-3.2.0+dfsg/debian/patches/python3.7.1.patch	2018-11-27 20:50:47.000000000 +0100
@@ -0,0 +1,13 @@
+Index: opencv-3.2.0+dfsg/modules/python/src2/cv2.cpp
+===================================================================
+--- opencv-3.2.0+dfsg.orig/modules/python/src2/cv2.cpp
++++ opencv-3.2.0+dfsg/modules/python/src2/cv2.cpp
+@@ -727,7 +727,7 @@ bool pyopencv_to(PyObject* obj, String&
+     (void)name;
+     if(!obj || obj == Py_None)
+         return true;
+-    char* str = PyString_AsString(obj);
++    const char* str = PyString_AsString(obj);
+     if(!str)
+         return false;
+     value = String(str);
diff -Nru opencv-3.2.0+dfsg/debian/patches/series opencv-3.2.0+dfsg/debian/patches/series
--- opencv-3.2.0+dfsg/debian/patches/series	2018-07-11 22:59:18.000000000 +0200
+++ opencv-3.2.0+dfsg/debian/patches/series	2018-11-27 20:51:11.000000000 +0100
@@ -6,3 +6,4 @@
 disable_dnn.patch
 fix_VFP_asm.patch
 ffmpeg4.0.patch
+python3.7.1.patch
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to