diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-04-02 22:42:17 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-04-02 22:42:17 +0800 |
commit | d7889e1af38de4ddabd2b1bb1379d791b1dddb7b (patch) | |
tree | 383b477e6d577edd70ce5518012e406ca6cb1d62 /x11 | |
parent | fb2f7b06be45b5005c26faa7e9fd5441ff9a964a (diff) | |
download | freebsd-ports-graphics-d7889e1af38de4ddabd2b1bb1379d791b1dddb7b.tar.gz freebsd-ports-graphics-d7889e1af38de4ddabd2b1bb1379d791b1dddb7b.tar.zst freebsd-ports-graphics-d7889e1af38de4ddabd2b1bb1379d791b1dddb7b.zip |
- fix build for png-1.4.1
Diffstat (limited to 'x11')
-rw-r--r-- | x11/metisse/files/patch-fvwm-insitu-libs-Fpng.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/metisse/files/patch-fvwm-insitu-libs-Fpng.h b/x11/metisse/files/patch-fvwm-insitu-libs-Fpng.h new file mode 100644 index 00000000000..04d6c9a1c87 --- /dev/null +++ b/x11/metisse/files/patch-fvwm-insitu-libs-Fpng.h @@ -0,0 +1,20 @@ +--- dummy/fvwm-insitu/libs/Fpng.h.orig 2005-06-17 14:44:35.000000000 +0200 ++++ dummy/fvwm-insitu/libs/Fpng.h 2010-03-29 19:25:39.000000000 +0200 +@@ -429,7 +429,7 @@ + #define FPNG_FILLER_AFTER PNG_FILLER_AFTER + #define FPNG_INFO_tRNS PNG_INFO_tRNS + +-#define Fpng_check_sig(a,b) png_check_sig(a,b) ++#define Fpng_check_sig(a,b) (!png_sig_cmp(a,0,b)) + #define Fpng_create_read_struct(a,b,c,d) png_create_read_struct(a,b,c,d) + #define Fpng_create_info_struct(a) png_create_info_struct(a) + #define Fpng_destroy_read_struct(a,b,c) png_destroy_read_struct(a,b,c) +@@ -444,7 +444,7 @@ + #define Fpng_set_packing(a) png_set_packing(a) + #define Fpng_set_gray_to_rgb(a) png_set_gray_to_rgb(a) + #define Fpng_get_bit_depth(a,b) png_get_bit_depth(a,b) +-#define Fpng_set_gray_1_2_4_to_8(a) png_set_gray_1_2_4_to_8(a) ++#define Fpng_set_gray_1_2_4_to_8(a) png_set_expand_gray_1_2_4_to_8(a) + #define Fpng_get_valid(a,b,c) png_get_valid(a,b,c) + #define Fpng_read_end(a,b) png_read_end(a,b) + #define Fpng_set_interlace_handling(a) png_set_interlace_handling(a) |