diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-28 21:19:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-28 21:19:06 +0800 |
commit | af3ee0c07b1800db298b485b1f716c8d46e8bee9 (patch) | |
tree | aa5d0be288a9a468e7b487b12193a6fb5cfee86c /mail | |
parent | 8b01dedb06e5b282be3c4c915136f9206887628c (diff) | |
download | freebsd-ports-gnome-af3ee0c07b1800db298b485b1f716c8d46e8bee9.tar.gz freebsd-ports-gnome-af3ee0c07b1800db298b485b1f716c8d46e8bee9.tar.zst freebsd-ports-gnome-af3ee0c07b1800db298b485b1f716c8d46e8bee9.zip |
- fix build for png-1.4.1
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird-esr/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp | 15 | ||||
-rw-r--r-- | mail/thunderbird/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/mail/thunderbird-esr/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp b/mail/thunderbird-esr/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp new file mode 100644 index 000000000000..ab9689957cbc --- /dev/null +++ b/mail/thunderbird-esr/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); diff --git a/mail/thunderbird/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp b/mail/thunderbird/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp new file mode 100644 index 000000000000..ab9689957cbc --- /dev/null +++ b/mail/thunderbird/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); |