diff options
Diffstat (limited to 'net/rdist6/files/patch-ag')
-rw-r--r-- | net/rdist6/files/patch-ag | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/net/rdist6/files/patch-ag b/net/rdist6/files/patch-ag index 0083dd610f1e..cb5ef75631fb 100644 --- a/net/rdist6/files/patch-ag +++ b/net/rdist6/files/patch-ag @@ -1,9 +1,10 @@ ---- config/os-freebsd2.h.orig Mon Nov 9 19:59:55 1998 -+++ config/os-freebsd2.h Fri Nov 3 02:40:25 2000 -@@ -116,8 +116,10 @@ +--- config/os-freebsd2.h Mon Nov 9 22:59:55 1998 ++++ config/os-freebsd2.h Tue Jan 18 15:13:07 2005 +@@ -116,18 +116,23 @@ */ #define HAVE_FCHOWN /* Have fchown() */ #define HAVE_FCHMOD /* Have fchmod() */ ++#define HAVE_FTRUNCATE /* Have ftruncate() */ +#define HAVE_PATHS_H /* Have paths.h */ #define HAVE_SELECT /* Have select() */ #define HAVE_SAVED_IDS /* Have POSIX style saved [ug]id's */ @@ -11,8 +12,16 @@ #define POSIX_SIGNALS /* Have POSIX signals */ /* -@@ -131,3 +133,4 @@ + * Things we need + */ + #define NEED_UNISTD_H /* Need <unistd.h> */ ++#define NEED_STRING_H /* Need <string.h> -- for strerror(3) */ + + /* + * Path to the remote shell command. + * Define this only if the pathname is different than * that which appears in "include/paths.h". */ - #define _PATH_REMSH "/usr/bin/rsh" /**/ +-#define _PATH_REMSH "/usr/bin/rsh" /**/ ++#define _PATH_REMSH "/usr/bin/ssh" /**/ +#define _PATH_OLDRDIST "/usr/bin/rdist" /* Enable compat */ |