aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-03-15 00:29:51 +0800
committervanilla <vanilla@FreeBSD.org>2005-03-15 00:29:51 +0800
commitdd9f47cf81eab96b97f7a1a13aa27e7018c824ee (patch)
treebf4b927b04c0e270c29e0da5d2f6d3b218ca9b51 /chinese/gcin/files
parentfbc2c50cdf2176bc7601ae60ba2246dcffea89a2 (diff)
downloadfreebsd-ports-gnome-dd9f47cf81eab96b97f7a1a13aa27e7018c824ee.tar.gz
freebsd-ports-gnome-dd9f47cf81eab96b97f7a1a13aa27e7018c824ee.tar.zst
freebsd-ports-gnome-dd9f47cf81eab96b97f7a1a13aa27e7018c824ee.zip
s/setgrp/setpgrp/,
bump version. Submitted by: chinsan <chinsan@mail2000.com.tw> Approved by: maintainer
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r--chinese/gcin/files/patch-gcin-im-client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/chinese/gcin/files/patch-gcin-im-client.c b/chinese/gcin/files/patch-gcin-im-client.c
index 55047683061d..55ce02b9fd48 100644
--- a/chinese/gcin/files/patch-gcin-im-client.c
+++ b/chinese/gcin/files/patch-gcin-im-client.c
@@ -1,14 +1,15 @@
--- im-client/gcin-im-client.c.orig Sat Feb 26 10:39:12 2005
-+++ im-client/gcin-im-client.c Wed Mar 2 02:54:55 2005
++++ im-client/gcin-im-client.c Tue Mar 15 00:15:47 2005
@@ -68,11 +68,7 @@
save_old_sigaction_single(SIGCHLD, &ori_act);
if ((pid=fork())==0) {
-#if FREEBSD
- setgrp();
+- setgrp();
-#else
- setpgrp();
-#endif
++ setpgrp(0, 0);
execl(execbin, "gcin", NULL);
} else {
sleep(1);