aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 18:32:59 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 18:32:59 +0800
commit33471356f7f83f28030503c8fdf9bd83334a2544 (patch)
treea5e154e73dd1beec0f90b4345b3ede2c2b155b7c /www
parent2e4270fd2d765cd4343eae36beb1f42cbef5de33 (diff)
downloadfreebsd-ports-gnome-33471356f7f83f28030503c8fdf9bd83334a2544.tar.gz
freebsd-ports-gnome-33471356f7f83f28030503c8fdf9bd83334a2544.tar.zst
freebsd-ports-gnome-33471356f7f83f28030503c8fdf9bd83334a2544.zip
- fix build for png-1.4.1
Diffstat (limited to 'www')
-rw-r--r--www/kompozer/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/kompozer/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp b/www/kompozer/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp
new file mode 100644
index 000000000000..ab9689957cbc
--- /dev/null
+++ b/www/kompozer/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp
@@ -0,0 +1,15 @@
+--- modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-03-28 13:48:53.000000000 +0200
++++ modules/libpr0n/encoders/png/nsPNGEncoder.cpp.orig 2010-03-28 13:46:50.000000000 +0200
+@@ -111,9 +111,9 @@
+
+ // initialize
+ png_struct* png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
+- png_voidp_NULL,
+- png_error_ptr_NULL,
+- png_error_ptr_NULL);
++ NULL,
++ NULL,
++ NULL);
+ if (! png_ptr)
+ return NS_ERROR_OUT_OF_MEMORY;
+ png_info* info_ptr = png_create_info_struct(png_ptr);