Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
fvwm2
fvwm-2.5.26-libpng.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fvwm-2.5.26-libpng.patch of Package fvwm2
--- libs/Fpng.h +++ libs/Fpng.h @@ -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_sig_cmp(a,b,c) png_sig_cmp(a,b,c) #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_expand_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) @@ -462,7 +462,7 @@ #define FPNG_FILLER_AFTER 5 #define FPNG_INFO_tRNS 7 -#define Fpng_check_sig(a,b) 0 +#define Fpng_sig_cmp(a,b,c) 0 #define Fpng_create_read_struct(a,b,c,d) NULL #define Fpng_create_info_struct(a) NULL #define Fpng_destroy_read_struct(a,b,c) @@ -477,7 +477,7 @@ #define Fpng_set_packing(a) #define Fpng_set_gray_to_rgb(a) #define Fpng_get_bit_depth(a,b) 0 -#define Fpng_set_gray_1_2_4_to_8(a) +#define Fpng_set_expand_gray_1_2_4_to_8(a) #define Fpng_get_valid(a,b,c) 0 #define Fpng_read_end(a,b) #define Fpng_set_interlace_handling(a) 0 --- libs/PictureImageLoader.c +++ libs/PictureImageLoader.c @@ -417,7 +417,7 @@ return False; } fread(buf, 1, FPNG_BYTES_TO_CHECK, f); - if (!Fpng_check_sig(buf, FPNG_BYTES_TO_CHECK)) + if (Fpng_sig_cmp(buf, 0, FPNG_BYTES_TO_CHECK)) { fclose(f); return False; @@ -503,7 +503,7 @@ Fpng_set_gray_to_rgb(Fpng_ptr); if (Fpng_get_bit_depth(Fpng_ptr, Finfo_ptr) < 8) { - Fpng_set_gray_1_2_4_to_8(Fpng_ptr); + Fpng_set_expand_gray_1_2_4_to_8(Fpng_ptr); } } for (i = 0; i < h; i++)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor