diff options
Diffstat (limited to 'graphics/py-matplotlib')
-rw-r--r-- | graphics/py-matplotlib/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-matplotlib/patches/patch-ac | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/graphics/py-matplotlib/distinfo b/graphics/py-matplotlib/distinfo index c52515a0553..fa118b7b9ae 100644 --- a/graphics/py-matplotlib/distinfo +++ b/graphics/py-matplotlib/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2006/04/06 16:43:39 drochner Exp $ +$NetBSD: distinfo,v 1.6 2008/11/11 16:34:26 joerg Exp $ SHA1 (matplotlib-0.87.2.tar.gz) = 9d969da7cf8ecb545f8c3a9030645292f32e1cbb RMD160 (matplotlib-0.87.2.tar.gz) = 0c913a357e8cec819a5a3f0812ef7854f329fb5c Size (matplotlib-0.87.2.tar.gz) = 2655790 bytes SHA1 (patch-aa) = 905b7657ac229a968c50faeee774408fd764ebfc SHA1 (patch-ab) = 4479168dfb7137e1061a5f19a705e39dbfca6434 +SHA1 (patch-ac) = 21a2feeb0e5c5bc984fe09fb936a98f97b698ec4 diff --git a/graphics/py-matplotlib/patches/patch-ac b/graphics/py-matplotlib/patches/patch-ac new file mode 100644 index 00000000000..3469e2a4e8b --- /dev/null +++ b/graphics/py-matplotlib/patches/patch-ac @@ -0,0 +1,27 @@ +$NetBSD: patch-ac,v 1.1 2008/11/11 16:34:26 joerg Exp $ + +--- src/agg.cxx.orig 2005-11-16 18:18:44.000000000 +0100 ++++ src/agg.cxx +@@ -1228,7 +1228,7 @@ type_error: + obj = pyobj; + if (PyCFunction_Check(obj)) { + /* here we get the method pointer for callbacks */ +- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); ++ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); + c = doc ? strstr(doc, "swig_ptr: ") : 0; + if (c) { + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; +@@ -27621,11 +27621,11 @@ extern "C" { + swig_type_info **types_initial) { + size_t i; + for (i = 0; methods[i].ml_name; ++i) { +- char *c = methods[i].ml_doc; ++ const char *c = methods[i].ml_doc; + if (c && (c = strstr(c, "swig_ptr: "))) { + int j; + swig_const_info *ci = 0; +- char *name = c + 10; ++ const char *name = c + 10; + for (j = 0; const_table[j].type; ++j) { + if (strncmp(const_table[j].name, name, + strlen(const_table[j].name)) == 0) { |