db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / plotutils / trunk / plotutils-2.6-libpng-1.5.patch
blob8a10d19e560f06fc72e382a77b05e7209df23bbc
1 fix building with libpng-1.5
3 --- libplot/z_write.c
4 +++ libplot/z_write.c
5 @@ -164,7 +164,7 @@
8 /* cleanup after libpng errors (error handler does a longjmp) */
9 - if (setjmp (png_ptr->jmpbuf))
10 + if (setjmp (png_jmpbuf (png_ptr)))
12 png_destroy_write_struct (&png_ptr, (png_info **)NULL);
13 return -1;
14 @@ -444,7 +444,7 @@
15 #endif
18 - longjmp (png_ptr->jmpbuf, 1);
19 + png_longjmp (png_ptr, 1);
22 static void
23 @@ -515,7 +515,7 @@
24 #endif
27 - longjmp (png_ptr->jmpbuf, 1);
28 + png_longjmp (png_ptr, 1);
31 static void