$NetBSD: patch-ab,v 1.5 2011/02/16 20:20:14 gls Exp $ Fix build with png-1.5. Accepted upstream in https://github.com/ldo/dvdauthor/commit/c82aaa4eb1a1c36bf7e2b7ae3c9140d0bf8000b5 --- src/spuunmux.c.orig 2010-05-10 07:27:55.000000000 +0000 +++ src/spuunmux.c @@ -39,6 +39,7 @@ #include #include +#include #include "rgb.h" #include "common.h" @@ -610,7 +611,7 @@ static int write_png png_destroy_write_struct(&png_ptr, (png_infopp)NULL); return -1; } /*if*/ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); fclose(fp);