diff options
Diffstat (limited to 'news/knews/patches/patch-bd')
-rw-r--r-- | news/knews/patches/patch-bd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/news/knews/patches/patch-bd b/news/knews/patches/patch-bd index 90661dc04d6..d91e014c47f 100644 --- a/news/knews/patches/patch-bd +++ b/news/knews/patches/patch-bd @@ -1,4 +1,4 @@ -$NetBSD: patch-bd,v 1.1 2001/03/26 21:49:00 fredb Exp $ +$NetBSD: patch-bd,v 1.2 2002/03/15 03:25:57 fredb Exp $ --- src/png.c.orig Sat Nov 21 08:55:13 1998 +++ src/png.c @@ -19,7 +19,7 @@ $NetBSD: patch-bd,v 1.1 2001/03/26 21:49:00 fredb Exp $ - if (setjmp(p_str.jmpbuf)) + if ((p_str = (png_struct *) png_create_read_struct(PNG_LIBPNG_VER_STRING, -+ NULL, NULL, NULL))); ++ NULL, NULL, NULL))) + p_info = (png_info *) png_create_info_struct(p_str); + + if (p_str && p_info && setjmp(png_jmpbuf(p_str))) |