Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
qemacs
qemacs-libpng15.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qemacs-libpng15.patch of Package qemacs
Index: qemacs-0.3.1/html2png.c =================================================================== --- qemacs-0.3.1.orig/html2png.c +++ qemacs-0.3.1/html2png.c @@ -213,7 +213,7 @@ int png_save(QEditScreen *s, const char if (!f) goto fail; - if (setjmp(png_ptr->jmpbuf)) { + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); fail: /* free pointers before returning. Make sure you clean up @@ -230,10 +230,8 @@ int png_save(QEditScreen *s, const char w = s->width; h = s->height; - info_ptr->width = w; - info_ptr->height = h; - info_ptr->bit_depth = 8; - info_ptr->color_type = PNG_COLOR_TYPE_RGB; + png_set_IHDR(png_ptr, info_ptr, w, h, 8, PNG_COLOR_TYPE_RGB, + PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); png_write_info(png_ptr, info_ptr);
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