1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

s/setgrp/setpgrp/,

bump version.

Submitted by:	chinsan <chinsan@mail2000.com.tw>
Approved by:	maintainer
This commit is contained in:
Vanilla I. Shu 2005-03-14 16:29:51 +00:00
parent d5fd279f71
commit ff1dcebb07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131212
4 changed files with 8 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gcin
PORTVERSION= 0.8.8
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/

View File

@ -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);

View File

@ -7,7 +7,7 @@
PORTNAME= gcin
PORTVERSION= 0.8.8
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/

View File

@ -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);