From 82dce54658ba548e774a8533cf9bfc9d16b4f977 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 24 Aug 2001 13:02:48 +0000 Subject: Make this build again after an API change for png_info_init() in latest png (1.0.12 or so) --- editors/ted/distinfo | 3 ++- editors/ted/patches/patch-ab | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 editors/ted/patches/patch-ab (limited to 'editors/ted') diff --git a/editors/ted/distinfo b/editors/ted/distinfo index dca5bc2d271..5265fc79626 100644 --- a/editors/ted/distinfo +++ b/editors/ted/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2001/05/19 17:18:41 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/08/24 13:02:48 hubertf Exp $ SHA1 (ted-2.10.src.tar.gz) = 22768b3c433129fcabc0513305d29fbb185e7976 Size (ted-2.10.src.tar.gz) = 2247037 bytes SHA1 (patch-aa) = 6b5f2e6e01dbace66d5a135a5aac33aaf21d1b4b +SHA1 (patch-ab) = ef80c0246c655be34178698b6faa0729c8993222 diff --git a/editors/ted/patches/patch-ab b/editors/ted/patches/patch-ab new file mode 100644 index 00000000000..bb314faa26a --- /dev/null +++ b/editors/ted/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.3 2001/08/24 13:02:49 hubertf Exp $ + +--- bitmap/bmpng.c.orig Sun Apr 8 18:05:33 2001 ++++ bitmap/bmpng.c +@@ -172,7 +172,7 @@ + return -1; + } + +- png_info_init( &pngi ); ++ png_info_init( pngi ); + png_read_init( &png ); + + png_init_io( &png, f ); +@@ -234,7 +234,7 @@ + if ( setjmp( png.jmpbuf ) ) + { LDEB(1); png_read_destroy( &png, &pngi, (png_info *)0 ); return -1; } + +- png_info_init( &pngi ); ++ png_info_init( pngi ); + png_read_init( &png ); + + png_init_io( &png, (FILE *)0 ); -- cgit v1.2.3