A new user interface for you! Read more...

File python-shout-fix-send.diff of Package python-shout

Index: b/shout.c
===================================================================
--- a/shout.c
+++ b/shout.c
@@ -19,6 +19,8 @@
  * $Id: shout.c 15285 2008-09-10 07:40:24Z brendan $
  */
 
+#define PY_SSIZE_T_CLEAN
+
 #include <Python.h>
 #include <shout/shout.h>
 
@@ -393,7 +395,7 @@ static PyObject* pshoutobj_close(ShoutOb
 
 static PyObject* pshoutobj_send(ShoutObject* self, PyObject* args) {
   const unsigned char* data;
-  size_t len;
+  Py_ssize_t len;
   int res;
 
   if (!PyArg_ParseTuple(args, "s#", &data, &len))