aboutsummaryrefslogtreecommitdiff
path: root/libraries/matplotlib/libpng-1.4.patch
diff options
context:
space:
mode:
authorJoão Felipe Santos <joao.eel@gmail.com>2010-05-29 02:02:16 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-29 02:02:16 -0500
commite32ff21dde3f9af7fb50087b3768cb02c526020f (patch)
tree43d54262f7353d30ac54d4bf05a624173c5c76e6 /libraries/matplotlib/libpng-1.4.patch
parent3d26ebd3ffb78b70e5875cb18092cb0835c94b2a (diff)
libraries/matplotlib: Re-added and updated to 0.99.1.2.
Diffstat (limited to 'libraries/matplotlib/libpng-1.4.patch')
-rw-r--r--libraries/matplotlib/libpng-1.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/matplotlib/libpng-1.4.patch b/libraries/matplotlib/libpng-1.4.patch
new file mode 100644
index 0000000000000..8fe04de8af34f
--- /dev/null
+++ b/libraries/matplotlib/libpng-1.4.patch
@@ -0,0 +1,12 @@
+diff -Naur matplotlib-0.99.1.1-orig/src/_png.cpp matplotlib-0.99.1.1/src/_png.cpp
+--- matplotlib-0.99.1.1-orig/src/_png.cpp 2010-01-25 01:42:32.000000000 -0500
++++ matplotlib-0.99.1.1/src/_png.cpp 2010-01-25 01:43:17.000000000 -0500
+@@ -290,7 +290,7 @@
+
+ //free the png memory
+ png_read_end(png_ptr, info_ptr);
+- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+ fclose(fp);
+ for (row = 0; row < height; row++)
+ delete [] row_pointers[row];