summaryrefslogtreecommitdiff
path: root/editors/ted
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-08-24 13:02:48 +0000
committerhubertf <hubertf>2001-08-24 13:02:48 +0000
commit1e5d3269b8feef92f14b92b5691dc3f943d3e157 (patch)
tree884b5e87ec81b98f7f23e80c5514d7eb53e338e3 /editors/ted
parent74bebd0c6533bd093f324805c6e04bd4221b1445 (diff)
downloadpkgsrc-1e5d3269b8feef92f14b92b5691dc3f943d3e157.tar.gz
Make this build again after an API change for png_info_init()
in latest png (1.0.12 or so)
Diffstat (limited to 'editors/ted')
-rw-r--r--editors/ted/distinfo3
-rw-r--r--editors/ted/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
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 );