Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
optipng
optipng-libpng14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File optipng-libpng14.patch of Package optipng
Index: optipng-0.6.5/src/pngpriv.h =================================================================== --- /dev/null +++ optipng-0.6.5/src/pngpriv.h @@ -0,0 +1,24 @@ +#if PNG_LIBPNG_VER >= 10400 +#define PNG_FILLER 0x8000L +#define PNG_FLAG_FILLER_AFTER 0x0080 +#define PNG_DEBUG_FILE stderr +#define png_debug(l,m) \ + { \ + int num_tabs=l; \ + fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \ + } +#define png_debug1(l,m,p1) \ + { \ + int num_tabs=l; \ + fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \ + } +#define png_debug2(l,m,p1,p2) \ + { \ + int num_tabs=l; \ + fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \ + } +#endif + Index: optipng-0.6.5/src/cexcept.h =================================================================== --- optipng-0.6.5.orig/src/cexcept.h +++ optipng-0.6.5/src/cexcept.h @@ -191,7 +191,7 @@ is subject to change. #define CEXCEPT_H -#include <setjmp.h> +#include <pngconf.h> #define define_exception_type(etype) \ struct exception_context { \ Index: optipng-0.6.5/src/opngreduc.c =================================================================== --- optipng-0.6.5.orig/src/opngreduc.c +++ optipng-0.6.5/src/opngreduc.c @@ -25,9 +25,9 @@ #include "opngreduc.h" #if PNG_LIBPNG_VER >= 10400 -#ifdef PNG_USER_PRIVATEBUILD +/*#ifdef PNG_USER_PRIVATEBUILD*/ #include "pngpriv.h" -#endif +/*#endif*/ #endif #ifndef OPNG_ASSERT
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