summaryrefslogtreecommitdiff
path: root/net/rdist6/files/patch-setargs.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-03 10:45:28 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-03 10:45:28 +0000
commit9cc9886b8ab8de856eeefca77c844e84281f4e4c (patch)
tree8f275c1b841bc7b01f1c59936c1bfca5a5dadd87 /net/rdist6/files/patch-setargs.c
parentFix installation path for the locale codes dependency (diff)
Fix conflict with package supplied setproctitle() and our native one.
Notes
Notes: svn path=/head/; revision=34718
Diffstat (limited to '')
-rw-r--r--net/rdist6/files/patch-setargs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/rdist6/files/patch-setargs.c b/net/rdist6/files/patch-setargs.c
new file mode 100644
index 000000000000..a57745108fb6
--- /dev/null
+++ b/net/rdist6/files/patch-setargs.c
@@ -0,0 +1,19 @@
+--- src/setargs.c.orig Mon Nov 9 20:15:56 1998
++++ src/setargs.c Fri Nov 3 02:41:25 2000
+@@ -89,6 +89,8 @@
+ LastArgv = argv[argc-1] + strlen(argv[argc-1]);
+ }
+
++#ifndef HAVE_SETPROCTITLE
++
+ /*
+ * Set process title
+ */
+@@ -165,5 +167,7 @@
+ _setproctitle(buf);
+ }
+ #endif /* !ARG_TYPE */
++
++#endif /* !HAVE_SETPROCTITLE */
+
+ #endif /* SETARGS */