Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock
Please unblock package mgltools-opengltk I applied the patch in BTS for bug #693653 and uploaded the fixed package. (see attached debdiff) unblock mgltools-opengltk/1.5.6~rc3~cvs.20120601-2 -- System Information: Debian Release: 6.0.6 Architecture: i386 (i686) Kernel: Linux 2.6.36-xenU-4814-i386 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/changelog mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/changelog --- mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/changelog 2012-06-01 20:05:20.000000000 +0200 +++ mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/changelog 2012-11-30 17:43:00.000000000 +0100 @@ -1,3 +1,11 @@ +mgltools-opengltk (1.5.6~rc3~cvs.20120601-2) unstable; urgency=low + + * debian/patches/opengl.patch: Apply patch from Steffen Moeller + <[email protected]> + Closes: #693653 + + -- Andreas Tille <[email protected]> Fri, 30 Nov 2012 17:39:00 +0100 + mgltools-opengltk (1.5.6~rc3~cvs.20120601-1) unstable; urgency=low * New upstream version. diff -Nru mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/opengl.patch mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/opengl.patch --- mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/opengl.patch 1970-01-01 01:00:00.000000000 +0100 +++ mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/opengl.patch 2012-11-30 17:38:47.000000000 +0100 @@ -0,0 +1,86 @@ +Author: Steffen Moeller <[email protected]> +Description: Enable proper usage of OpenGL function + It seems like some platform specific size specifications in + Swig wrappers have caused some issue. The patch below we + have locally tested to solve the issue for us and now we wait + for a confirmation by upstream. +Bugs-Closed: http://bugs.debian.org/693653 + +--- a/opengltk/extent/dejavu.i ++++ b/opengltk/extent/dejavu.i +@@ -3222,7 +3222,7 @@ void solidCylinder ( GLdouble radiusBase + + %typemap(in) const float *coords + { +- long buffer_len; ++ Py_ssize_t buffer_len; + if (PyObject_AsWriteBuffer( $input, (void**)&$1, &buffer_len)) + return NULL; + if (! $1) return PyErr_Format( PyExc_ValueError, +--- a/opengltk/extent/glArrayTypemap.i ++++ b/opengltk/extent/glArrayTypemap.i +@@ -107,7 +107,7 @@ extern int checkArgumentsInCWrapper=1; + { + if (isContiguosBuffer((PyObject*)$input)) + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +@@ -124,7 +124,7 @@ extern int checkArgumentsInCWrapper=1; + } + else + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +@@ -153,7 +153,7 @@ extern int checkArgumentsInCWrapper=1; + { + if (isContiguosBuffer((PyObject*)$input)) + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +@@ -173,7 +173,7 @@ extern int checkArgumentsInCWrapper=1; + } + else + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +@@ -202,7 +202,7 @@ void gluPickMatrix( GLdouble x, GLdouble + { + if (isContiguosBuffer((PyObject*)$input)) + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +@@ -222,7 +222,7 @@ void gluPickMatrix( GLdouble x, GLdouble + } + else + { +- int buffer_len; ++ Py_ssize_t buffer_len; + array = NULL; + if (PyObject_AsReadBuffer( $input, (const void**)&$1, &buffer_len)) + return NULL; +--- a/opengltk/extent/gltypemap.i ++++ b/opengltk/extent/gltypemap.i +@@ -63,7 +63,7 @@ + GLvoid*, + GLint[ANY] + { +- long buffer_len; ++ Py_ssize_t buffer_len; + if (PyObject_AsWriteBuffer( $input, (void**)&$1, &buffer_len)) + return NULL; + if (! $1) return PyErr_Format( PyExc_ValueError, diff -Nru mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/series mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/series --- mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/series 2012-04-02 10:12:43.000000000 +0200 +++ mgltools-opengltk-1.5.6~rc3~cvs.20120601/debian/patches/series 2012-11-30 17:29:40.000000000 +0100 @@ -1 +1,2 @@ tcllib.patch +opengl.patch

