pkgsrc/audio/gqmpeg-devel/patches/patch-src_ui__pixbuf__save.c
2011-04-05 08:09:46 +00:00

15 lines
422 B
C

$NetBSD: patch-src_ui__pixbuf__save.c,v 1.1 2011/04/05 08:09:46 wiz Exp $
Fix build with png-1.5.
--- src/ui_pixbuf_save.c.orig 2004-04-02 14:22:33.000000000 +0000
+++ src/ui_pixbuf_save.c
@@ -86,7 +86,7 @@ gboolean pixbuf_to_file_as_png (GdkPixbu
return FALSE;
}
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_jmpbuf(png_ptr)))
{
png_destroy_write_struct (&png_ptr, &info_ptr);
fclose (handle);