Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst
SILLY
01_SILLYPNGImageLoader.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 01_SILLYPNGImageLoader.patch of Package SILLY
Origin: <vendor|upstream|other>, <url of original patch> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638811 Last-Update: <2012-04-10> --- silly-0.1.0.orig/src/loaders/SILLYPNGImageLoader.cpp +++ silly-0.1.0/src/loaders/SILLYPNGImageLoader.cpp @@ -66,7 +66,11 @@ void PNG_error_function(png_structp png_ // printf("PNG Error: %s\n", error); // copied from libpng's pngerror.cpp jmp_buf buf; +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 + memcpy(buf, png_jmpbuf((png_ptr)), sizeof(jmp_buf)); +#else memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf)); +#endif longjmp(buf, 1); }
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