pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/rid don't inline a function in one source fil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7713c5bed55
branches:  trunk
changeset: 477154:b7713c5bed55
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jun 27 12:21:21 2004 +0000

description:
don't inline a function in one source file and expect to be able to
use it in other source files - not all compilers allow this.

diffstat:

 security/rid/distinfo         |   4 +++-
 security/rid/patches/patch-aa |  13 +++++++++++++
 security/rid/patches/patch-ab |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 69ea40d3efd9 -r b7713c5bed55 security/rid/distinfo
--- a/security/rid/distinfo     Sun Jun 27 12:04:45 2004 +0000
+++ b/security/rid/distinfo     Sun Jun 27 12:21:21 2004 +0000
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 15:40:38 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/06/27 12:21:21 grant Exp $
 
 SHA1 (rid-1.11.tgz) = 14ccad3ae413a1bed19ad5f063f8e563b9ddbbfb
 Size (rid-1.11.tgz) = 122317 bytes
+SHA1 (patch-aa) = 8840f22028d1535c54a6dc84caeb1960cb93a5de
+SHA1 (patch-ab) = 863908c0ec660d3976e977888b95061cac63fe41
diff -r 69ea40d3efd9 -r b7713c5bed55 security/rid/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/rid/patches/patch-aa     Sun Jun 27 12:21:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/06/27 12:21:21 grant Exp $
+
+--- functions.h.orig   2000-02-27 13:37:36.000000000 +1100
++++ functions.h
+@@ -6,7 +6,7 @@ void add_ip(char *ip);
+ int add_ips(char *ip, int mask);
+ void pingsweep(int numhosts);
+ void process_alive(int num_hosts);
+-inline unsigned short ip_cksum(u_short *addr, int len);
++unsigned short ip_cksum(u_short *addr, int len);
+ void printlist();
+ void icmp_send();
+ void udp_send();
diff -r 69ea40d3efd9 -r b7713c5bed55 security/rid/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/rid/patches/patch-ab     Sun Jun 27 12:21:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/06/27 12:21:21 grant Exp $
+
+--- pinger.c.orig      2000-02-25 15:33:24.000000000 +1100
++++ pinger.c
+@@ -141,7 +141,7 @@ void process_alive(int num_hosts)
+ }
+ 
+ /* Standard checksum routine */
+-inline unsigned short
++unsigned short
+ ip_cksum(u_short *addr, int len)
+ {
+         register int    nleft = len;



Home | Main Index | Thread Index | Old Index