summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoris <is>1998-06-25 11:41:50 +0000
committeris <is>1998-06-25 11:41:50 +0000
commitaacd0cb293ceba730889eefa3a324175e665eef2 (patch)
tree620ddbf5026e5396b853c728293ca959e46f7ccb /net
parentd558b60f2b4f57897ad6943ee33850b9966a9019 (diff)
downloadpkgsrc-aacd0cb293ceba730889eefa3a324175e665eef2.tar.gz
include <paths.h>, and PATH_SENDMAIL => _PATH_SENDMAIL.
Diffstat (limited to 'net')
-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;