summaryrefslogtreecommitdiff
path: root/security/rid
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-08 17:36:56 +0000
committerjoerg <joerg>2005-12-08 17:36:56 +0000
commitdf5816d33d52eb1aee92c3f5e465d0990bddbc0b (patch)
tree0c096f01bd14b4d73fe02dc4e86cae10e446167a /security/rid
parent3585b2cee265a259858147772c9d48a38b7f19f2 (diff)
downloadpkgsrc-df5816d33d52eb1aee92c3f5e465d0990bddbc0b.tar.gz
Fix errno.
Diffstat (limited to 'security/rid')
-rw-r--r--security/rid/distinfo5
-rw-r--r--security/rid/patches/patch-ab14
-rw-r--r--security/rid/patches/patch-ac19
3 files changed, 33 insertions, 5 deletions
diff --git a/security/rid/distinfo b/security/rid/distinfo
index 12f04ef011f..f92d813a73b 100644
--- a/security/rid/distinfo
+++ b/security/rid/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:10:12 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/12/08 17:41:16 joerg Exp $
SHA1 (rid-1.11.tgz) = 14ccad3ae413a1bed19ad5f063f8e563b9ddbbfb
RMD160 (rid-1.11.tgz) = c39ffa2dfc7245022c3db1523909893983a99517
Size (rid-1.11.tgz) = 122317 bytes
SHA1 (patch-aa) = 8840f22028d1535c54a6dc84caeb1960cb93a5de
-SHA1 (patch-ab) = 863908c0ec660d3976e977888b95061cac63fe41
+SHA1 (patch-ab) = e6cf3017ad2d390f2e58d5739b1819dbb5ad1ae8
+SHA1 (patch-ac) = d151390e6306102dd3e6d2121473d727b5953f43
diff --git a/security/rid/patches/patch-ab b/security/rid/patches/patch-ab
index c8ea9c75bd0..9f3335f11c9 100644
--- a/security/rid/patches/patch-ab
+++ b/security/rid/patches/patch-ab
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.1 2004/06/27 12:21:21 grant Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/08 17:41:16 joerg Exp $
---- pinger.c.orig 2000-02-25 15:33:24.000000000 +1100
+--- pinger.c.orig 2000-02-25 04:33:24.000000000 +0000
+++ pinger.c
-@@ -141,7 +141,7 @@ void process_alive(int num_hosts)
+@@ -23,7 +23,6 @@ extern fd_set RawFD;
+ extern u_long NumToPing;
+ extern u_long TO;
+ extern pid_t PidSender;
+-extern int errno;
+
+
+ /*
+@@ -141,7 +140,7 @@ void process_alive(int num_hosts)
}
/* Standard checksum routine */
diff --git a/security/rid/patches/patch-ac b/security/rid/patches/patch-ac
new file mode 100644
index 00000000000..38f42ab8cc5
--- /dev/null
+++ b/security/rid/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2005/12/08 17:41:16 joerg Exp $
+
+--- grammer.y.orig 2005-12-08 17:37:54.000000000 +0000
++++ grammer.y
+@@ -1,4 +1,5 @@
+ %{
++#include <errno.h>
+ #include <stdio.h>
+ #include <strings.h>
+ #include "netconfig.h"
+@@ -20,8 +21,6 @@ char *data;
+
+ /* Name of current ddos we're working on */
+ char ddos_name[BUFSIZE];
+-
+-extern int errno;
+ %}
+
+ %union {