File dvdauthor-0.6.18-libpng15.patch of Package dvdauthor

Index: src/spuunmux.c
===================================================================
--- src/spuunmux.c.orig
+++ src/spuunmux.c
@@ -38,6 +38,7 @@
 #include <netinet/in.h>
 
 #include <png.h>
+#include <zlib.h>
 
 #include "rgb.h"
 #include "common.h"
@@ -483,7 +484,7 @@ static int write_png(char *file_name,str
     return -1;
     }
 
-    if (setjmp(png_ptr->jmpbuf)) {
+    if (setjmp(png_jmpbuf(png_ptr))) {
     png_destroy_write_struct(&png_ptr, &info_ptr);
     fclose(fp);
     return -1;