pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tcpillust tcpillust: if you're gonna __P() like it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/090cf22c880f
branches:  trunk
changeset: 377785:090cf22c880f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 24 22:57:52 2022 +0000

description:
tcpillust: if you're gonna __P() like it's 1989, at least define __P

diffstat:

 net/tcpillust/distinfo                  |   3 ++-
 net/tcpillust/patches/patch-tcpillust.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 17ecea1006f3 -r 090cf22c880f net/tcpillust/distinfo
--- a/net/tcpillust/distinfo    Sun Apr 24 22:45:40 2022 +0000
+++ b/net/tcpillust/distinfo    Sun Apr 24 22:57:52 2022 +0000
@@ -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-ab) = b674343b8036c8ffbe0d2cce371f40f3ed8ee0c0
 SHA1 (patch-ac) = 8c1a77f8b123fddefc5db0482839768f292a59d7
 SHA1 (patch-tcpillust.c) = 3dda69f3bd8cf8b0560a063e4f3ea6870d9b1dd6
+SHA1 (patch-tcpillust.h) = 5352a3f2011b1ab414df935944c6ba405d528374
diff -r 17ecea1006f3 -r 090cf22c880f net/tcpillust/patches/patch-tcpillust.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpillust/patches/patch-tcpillust.h   Sun Apr 24 22:57:52 2022 +0000
@@ -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 **));



Home | Main Index | Thread Index | Old Index