Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 18:21:31 +0800 (CST)
From:      chinsan <chinsan@mail2000.com.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        statue@freebsd.netlab.cse.yzu.edu.tw
Subject:    ports/80398: [PATCH] chinese/gcin: fix setpgrp bug & update to 0.9.2
Message-ID:  <200504271021.j3RALVlf000836@chinsan.twbbs.org>
Resent-Message-ID: <200504271030.j3RAUL8p079334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80398
>Category:       ports
>Synopsis:       [PATCH] chinese/gcin: fix setpgrp bug & update to 0.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 27 10:30:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	- fix setpgrp bug
	- update to 0.9.2
>How-To-Repeat:
>Fix:

--- gcin.0.9.2.diff begins here ---
diff -ruN gcin/Makefile gcin-devel/Makefile
--- gcin/Makefile	Tue Apr 19 14:10:09 2005
+++ gcin-devel/Makefile	Wed Apr 27 17:45:27 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gcin
-PORTVERSION=	0.9.1
+PORTVERSION=	0.9.2
 CATEGORIES=	chinese
 MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/
 
diff -ruN gcin/distinfo gcin-devel/distinfo
--- gcin/distinfo	Wed Apr 27 17:53:02 2005
+++ gcin-devel/distinfo	Wed Apr 27 17:53:12 2005
@@ -1,2 +1,2 @@
-MD5 (gcin-0.9.1.tar.bz2) = b9b30dcd0e81b47666d3d608930c4082
-SIZE (gcin-0.9.1.tar.bz2) = 1105801
+MD5 (gcin-0.9.2.tar.bz2) = d1b26b72f3fb6fbfb286cc64d5992ef9
+SIZE (gcin-0.9.2.tar.bz2) = 1109165
diff -ruN gcin/files/patch-gcin-im-client.c gcin-devel/files/patch-gcin-im-client.c
--- gcin/files/patch-gcin-im-client.c	Thu Apr  7 23:28:14 2005
+++ gcin-devel/files/patch-gcin-im-client.c	Wed Apr 27 17:48:52 2005
@@ -1,11 +1,11 @@
---- im-client/gcin-im-client.c.orig	Thu Apr  7 09:18:13 2005
-+++ im-client/gcin-im-client.c	Thu Apr  7 09:18:27 2005
+--- im-client/gcin-im-client.c.orig	Wed Apr 27 17:47:19 2005
++++ im-client/gcin-im-client.c	Wed Apr 27 17:47:43 2005
 @@ -71,7 +71,7 @@
  #if 	FREEBSD
          setgrp();
  #else
 -        setpgrp();
-+        setpgrp(0, 0);
++        setpgrp(0, getpid());
  #endif
          execl(execbin, "gcin", NULL);
        } else {
--- gcin.0.9.2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504271021.j3RALVlf000836>