diff options
author | is <is> | 1998-06-25 11:41:50 +0000 |
---|---|---|
committer | is <is> | 1998-06-25 11:41:50 +0000 |
commit | 4ed387e32f8839a85b1b75c0d4ca17e0c5081218 (patch) | |
tree | 620ddbf5026e5396b853c728293ca959e46f7ccb /net | |
parent | 0f78bbc3fefce677a513cbf1736caed09c29a28e (diff) | |
download | pkgsrc-4ed387e32f8839a85b1b75c0d4ca17e0c5081218.tar.gz |
include <paths.h>, and PATH_SENDMAIL => _PATH_SENDMAIL.
Diffstat (limited to 'net')
-rw-r--r-- | net/arpwatch/patches/patch-ad | 30 |
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; |