summaryrefslogtreecommitdiff
path: root/net/tcpillust
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-04-24 22:57:52 +0000
committertnn <tnn@pkgsrc.org>2022-04-24 22:57:52 +0000
commitcf2a97bf8371c19e8fc44b576c69cb1a282693b6 (patch)
treef21d1f5887725c1127f42caac5e5c5b64f053268 /net/tcpillust
parent481cfc9bd58515bee4f3dafce502966f0f147f8d (diff)
downloadpkgsrc-cf2a97bf8371c19e8fc44b576c69cb1a282693b6.tar.gz
tcpillust: if you're gonna __P() like it's 1989, at least define __P
Diffstat (limited to 'net/tcpillust')
-rw-r--r--net/tcpillust/distinfo3
-rw-r--r--net/tcpillust/patches/patch-tcpillust.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/tcpillust/distinfo b/net/tcpillust/distinfo
index 70ce9151d72..e04ab862cdd 100644
--- a/net/tcpillust/distinfo
+++ b/net/tcpillust/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:07:00 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/04/24 22:57:52 tnn Exp $
BLAKE2s (tcpillust-1.0a.tar.gz) = ed3ff8e9e30dee0b21ddcda12a13bd79e3a931ad944de5b512f04a3f15b9cf48
SHA512 (tcpillust-1.0a.tar.gz) = b1f503c084dc1f9e42d2a2ba04490da3a3a7fb0eb13bafa18906c029faa8c84e4b1f586648762ad7d880305904ddb9fb4703e165e1f5501f11bd364d7cbc9297
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 3202a17e41f2976acc3504db95de4c0caaa9741a
SHA1 (patch-ab) = b674343b8036c8ffbe0d2cce371f40f3ed8ee0c0
SHA1 (patch-ac) = 8c1a77f8b123fddefc5db0482839768f292a59d7
SHA1 (patch-tcpillust.c) = 3dda69f3bd8cf8b0560a063e4f3ea6870d9b1dd6
+SHA1 (patch-tcpillust.h) = 5352a3f2011b1ab414df935944c6ba405d528374
diff --git a/net/tcpillust/patches/patch-tcpillust.h b/net/tcpillust/patches/patch-tcpillust.h
new file mode 100644
index 00000000000..3a203c39efb
--- /dev/null
+++ b/net/tcpillust/patches/patch-tcpillust.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-tcpillust.h,v 1.1 2022/04/24 22:57:52 tnn Exp $
+
+we really don't care about pre-C89
+
+--- tcpillust.h.orig 2000-04-21 17:31:27.000000000 +0000
++++ tcpillust.h
+@@ -70,6 +70,10 @@
+ #define CANVAS_HEIGHT_RATIO 2
+ #define SUBCANVAS_HEIGHT_RATIO 4
+
++#ifndef __P
++#define __P(protos) protos
++#endif
++
+ int zoomout_clib __P((ClientData, Tcl_Interp *, int, char **));
+ int zoomin_clib __P((ClientData, Tcl_Interp *, int, char **));
+ int subzoomout_clib __P((ClientData, Tcl_Interp *, int, char **));