Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288945 Details for
Bug 385851
x11-wm/afterstep-2.2.9 fails to compile with libpng15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for afterstep-2.2.9 (fix libpng1.5.5 problem)
afterstep-2.2.9-libpng15.diff (text/plain), 1.32 KB, created by
HelDoRe
on 2011-10-06 12:02:02 UTC
(
hide
)
Description:
patch for afterstep-2.2.9 (fix libpng1.5.5 problem)
Filename:
MIME Type:
Creator:
HelDoRe
Created:
2011-10-06 12:02:02 UTC
Size:
1.32 KB
patch
obsolete
>--- AfterStep-2.2.9/libAfterImage/import.c.old 2011-10-06 13:43:28.000000000 +0200 >+++ AfterStep-2.2.9/libAfterImage/import.c 2011-10-06 13:44:26.000000000 +0200 >@@ -1251,7 +1251,7 @@ > * the normal method of doing things with libpng). REQUIRED unless you > * set up your own error handlers in the png_create_read_struct() earlier. > */ >- if ( !setjmp (png_ptr->jmpbuf)) >+ if ( !setjmp (png_jmpbuf(png_ptr))) > { > ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ; > >@@ -1468,7 +1468,7 @@ > > static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) > { >- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr; >+ ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_get_io_ptr(png_ptr); > memcpy(data, buf->buffer, length); > buf->buffer += length; > } >--- AfterStep-2.2.9/libAfterImage/export.c.old 2011-10-06 13:45:05.000000000 +0200 >+++ AfterStep-2.2.9/libAfterImage/export.c 2011-10-06 13:45:51.000000000 +0200 >@@ -483,7 +483,7 @@ > png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL ); > if ( png_ptr != NULL ) > if( (info_ptr = png_create_info_struct(png_ptr)) != NULL ) >- if( setjmp(png_ptr->jmpbuf) ) >+ if( setjmp(png_jmpbuf(png_ptr) )) > { > png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr); > info_ptr = NULL ;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 385851
: 288945