summaryrefslogtreecommitdiff
path: root/devel/distcc/files/patch-src-dparent.c.diff
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-06 00:07:20 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-06 00:07:20 +0000
commit7fbd35f4fad2d3bc1ca13527af02ca65a24459dc (patch)
treea333c71a970e89b256dd9a045e00bf8f22c5f7f8 /devel/distcc/files/patch-src-dparent.c.diff
parentfix drag & drop with gtk 2.8 (diff)
Fix creation of pif file by distccd
Use script name instead of USE_RC_SUBR=yes Bump PORTREVISION PR: 87512 Submitted by: Vasil Dimov <vd@datamax.bg> Approved by: dom@helenmarks.co.uk (maintainer timeout, 20 days)
Diffstat (limited to 'devel/distcc/files/patch-src-dparent.c.diff')
-rw-r--r--devel/distcc/files/patch-src-dparent.c.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/distcc/files/patch-src-dparent.c.diff b/devel/distcc/files/patch-src-dparent.c.diff
new file mode 100644
index 000000000000..c7eee8e775cf
--- /dev/null
+++ b/devel/distcc/files/patch-src-dparent.c.diff
@@ -0,0 +1,20 @@
+--- src/dparent.c.orig Sun Oct 24 08:05:48 2004
++++ src/dparent.c Fri Nov 4 17:35:09 2005
+@@ -285,6 +285,9 @@
+ **/
+ void dcc_remove_pid(void)
+ {
++ /* distcc user, we are running as, cannot delete files in /var/run
++ */
++#if 0
+ if (!arg_pid_file)
+ return;
+
+@@ -292,6 +295,7 @@
+ rs_log_warning("failed to remove pid file %s: %s",
+ arg_pid_file, strerror(errno));
+ }
++#endif
+ }
+
+