summaryrefslogtreecommitdiff
path: root/net/arpwatch
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1998-06-25 11:41:50 +0000
committeris <is@pkgsrc.org>1998-06-25 11:41:50 +0000
commit791e000b0acef88ddd85ed4add7e19b241b0d5d2 (patch)
tree620ddbf5026e5396b853c728293ca959e46f7ccb /net/arpwatch
parentf277b088085cba2a510a357e388f5552d4c9e528 (diff)
downloadpkgsrc-791e000b0acef88ddd85ed4add7e19b241b0d5d2.tar.gz
include <paths.h>, and PATH_SENDMAIL => _PATH_SENDMAIL.
Diffstat (limited to 'net/arpwatch')
-rw-r--r--net/arpwatch/patches/patch-ad30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/arpwatch/patches/patch-ad b/net/arpwatch/patches/patch-ad
new file mode 100644
index 00000000000..c55771299ab
--- /dev/null
+++ b/net/arpwatch/patches/patch-ad
@@ -0,0 +1,30 @@
+--- report.c.original Thu Jun 25 13:01:29 1998
++++ report.c Thu Jun 25 13:07:26 1998
+@@ -45,6 +45,7 @@
+
+ #include <ctype.h>
+ #include <errno.h>
++#include <paths.h>
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -68,8 +69,8 @@
+ #include "setsignal.h"
+ #include "util.h"
+
+-#ifndef PATH_SENDMAIL
+-#define PATH_SENDMAIL "/usr/lib/sendmail"
++#ifndef _PATH_SENDMAIL
++#define _PATH_SENDMAIL "/usr/lib/sendmail"
+ #endif
+
+ #define PLURAL(n) ((n) == 1 || (n) == -1 ? "" : "s")
+@@ -249,7 +250,7 @@
+ char *fmt = "%20s: %s\n";
+ char *watcher = WATCHER;
+ char *watchee = WATCHEE;
+- char *sendmail = PATH_SENDMAIL;
++ char *sendmail = _PATH_SENDMAIL;
+ char *unknown = "<unknown>";
+ char buf[132];
+ static int init = 0;