summaryrefslogtreecommitdiff
path: root/devel/libclaw/files/patch-claw-code-png_writer.cpp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:58:13 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:58:13 +0000
commit61540bed3672f08185969e7251e28a42ebc7c443 (patch)
tree3eec36593a6162e26464a7f27153d2fd5b4704ba /devel/libclaw/files/patch-claw-code-png_writer.cpp
parent- fix build for png-1.4.1 (diff)
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=251746
Diffstat (limited to 'devel/libclaw/files/patch-claw-code-png_writer.cpp')
-rw-r--r--devel/libclaw/files/patch-claw-code-png_writer.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libclaw/files/patch-claw-code-png_writer.cpp b/devel/libclaw/files/patch-claw-code-png_writer.cpp
new file mode 100644
index 000000000000..0c5ee5b77678
--- /dev/null
+++ b/devel/libclaw/files/patch-claw-code-png_writer.cpp
@@ -0,0 +1,11 @@
+--- claw/code/png_writer.cpp.orig 2008-07-08 11:52:14.000000000 +0200
++++ claw/code/png_writer.cpp 2010-03-29 10:14:49.000000000 +0200
+@@ -296,7 +296,7 @@
+ info_ptr = png_create_info_struct(png_ptr);
+
+ if (!info_ptr)
+- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
++ png_destroy_write_struct(&png_ptr, NULL);
+ }
+
+ if (!png_ptr || !info_ptr)