eed7c62887
All fixes by yours truly.
16 lines
624 B
Plaintext
16 lines
624 B
Plaintext
$OpenBSD: patch-libAfterImage_export_c,v 1.1 2011/07/08 20:38:01 naddy Exp $
|
|
|
|
Fix build with png-1.5.
|
|
|
|
--- libAfterImage/export.c.orig Tue Jul 5 21:59:34 2011
|
|
+++ libAfterImage/export.c Tue Jul 5 22:00:02 2011
|
|
@@ -483,7 +483,7 @@ ASImage2png_int ( ASImage *im, void *data, png_rw_ptr
|
|
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 ;
|