summaryrefslogtreecommitdiff
path: root/net/spread4/files/patch-session.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-29 06:21:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-29 06:21:20 +0000
commit12f56a38a7178dc6335f27c4ce0a2d6336762ba2 (patch)
tree88dd7135fa5b41bfb4f596c8373ecc6a242577ab /net/spread4/files/patch-session.c
parent[New Port]:: www/drupal 4.3.1 Update & Fix plist (diff)
[MAINTAINER UPDATE] New versions of spread, spread-j and py-spreadmodule
* Use more bsd.port.mk convenience switches. * Use rc.subr properly for spread daemon. * Write a logfile rather than spewing to stdio. * Move rendezvous socket to /var/run. * Make Makefile.PL behave properly with PREFIX. PR: ports/60053 Submitted by: Joshua Goodall <joshua@roughtrade.net>
Notes
Notes: svn path=/head/; revision=96846
Diffstat (limited to '')
-rw-r--r--net/spread4/files/patch-session.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/spread4/files/patch-session.c b/net/spread4/files/patch-session.c
new file mode 100644
index 000000000000..c33d5523da84
--- /dev/null
+++ b/net/spread4/files/patch-session.c
@@ -0,0 +1,11 @@
+--- session.c Tue Aug 5 21:35:52 2003
++++ session.c Tue Aug 5 21:31:30 2003
+@@ -406,7 +406,7 @@
+ Alarm( EXIT, "Sess_init: UNIX sock error\n" );
+
+ unix_addr.sun_family = AF_UNIX;
+- sprintf( name, "/tmp/%d",My.port );
++ sprintf( name, "%s/spread.sock", _PATH_SPREAD_PIDDIR );
+ strcpy( unix_addr.sun_path, name );
+ unlink( name );
+