diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 09:59:10 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 09:59:10 +0800 |
commit | 6aeabce83e607789e7b387abd0ed42fb29862318 (patch) | |
tree | adee2982fd78490a08d5b016f3a86a2656ab7595 | |
parent | bfd703cd49302e249b1b613939ff70167aa7d7e9 (diff) | |
download | freebsd-ports-gnome-6aeabce83e607789e7b387abd0ed42fb29862318.tar.gz freebsd-ports-gnome-6aeabce83e607789e7b387abd0ed42fb29862318.tar.zst freebsd-ports-gnome-6aeabce83e607789e7b387abd0ed42fb29862318.zip |
- fix build for png-1.4.1
-rw-r--r-- | www/seamonkey/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp | 15 | ||||
-rw-r--r-- | x11-toolkits/wxgtk24/Makefile | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/seamonkey/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp b/www/seamonkey/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp new file mode 100644 index 000000000000..ab9689957cbc --- /dev/null +++ b/www/seamonkey/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/x11-toolkits/wxgtk24/Makefile b/x11-toolkits/wxgtk24/Makefile index 24ca9563f8f7..7e33091651a5 100644 --- a/x11-toolkits/wxgtk24/Makefile +++ b/x11-toolkits/wxgtk24/Makefile @@ -53,7 +53,8 @@ pre-patch: post-patch: @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ - s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ + s|pkg_config_args --libs|pkg_config_args pangox --libs|g ; \ + s|png_check_sig|png_sig_cmp|g' \ ${WRKSRC}/configure .include <bsd.port.post.mk> |