Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / time / xtide / patches / patch-ae
blobc054103fff070ec6de9efdda86dbe40b3da1f002
1 $NetBSD$
3 Fix build with png-1.5.
5 --- RGBGraph.cc.orig    2006-03-14 01:59:34.000000000 +0000
6 +++ RGBGraph.cc
7 @@ -118,7 +118,7 @@ RGBGraph::writeAsPNG (png_rw_ptr write_d
8     /* Set error handling.  REQUIRED if you aren't supplying your own
9      * error hadnling functions in the png_create_write_struct() call.
10      */
11 -   if (setjmp(png_ptr->jmpbuf))
12 +   if (setjmp(png_jmpbuf(png_ptr)))
13       barf (PNG_WRITE_FAILURE);
15     /* set up the output control if you are using standard C streams */