aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-03-02 03:02:27 +0800
committervanilla <vanilla@FreeBSD.org>2005-03-02 03:02:27 +0800
commitfc68f69a91d215be149d4b083c19f7058c60192f (patch)
tree8d053fed45693740cecd5cc9871d226321f91683 /chinese/gcin/files
parent7603373178c2c14e4ec11b9852d9d30966253254 (diff)
downloadfreebsd-ports-gnome-fc68f69a91d215be149d4b083c19f7058c60192f.tar.gz
freebsd-ports-gnome-fc68f69a91d215be149d4b083c19f7058c60192f.tar.zst
freebsd-ports-gnome-fc68f69a91d215be149d4b083c19f7058c60192f.zip
Upgrade to 0.8.4.
Approved by: maintainer
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r--chinese/gcin/files/patch-Makefile11
-rw-r--r--chinese/gcin/files/patch-configure12
-rw-r--r--chinese/gcin/files/patch-gcin-im-client.c14
-rw-r--r--chinese/gcin/files/patch-gcin-user-setup8
-rw-r--r--chinese/gcin/files/patch-gcin-utf8-setup8
-rw-r--r--chinese/gcin/files/patch-im-srv.c11
6 files changed, 50 insertions, 14 deletions
diff --git a/chinese/gcin/files/patch-Makefile b/chinese/gcin/files/patch-Makefile
deleted file mode 100644
index 7ed2eaaa786a..000000000000
--- a/chinese/gcin/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Tue Aug 3 13:56:59 2004
-+++ Makefile Tue Aug 17 20:21:44 2004
-@@ -68,7 +68,7 @@
- install -d $(libdir)/menu
- install -m 644 menu/* $(libdir)/menu
- $(MAKE) -C data install
-- if [ $(prefix) = /usr/local ]; then \
-+ if [ $(prefix) = /usr/local -a `uname` != FreeBSD ]; then \
- install -m 644 menu/* /usr/lib/menu; \
- which update-menus >& /dev/null && update-menus; \
- sh modify-XIM; \
diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure
index 1ca3178f24da..9ceb4e8650ed 100644
--- a/chinese/gcin/files/patch-configure
+++ b/chinese/gcin/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Tue Aug 3 13:46:22 2004
-+++ configure Tue Aug 17 20:24:39 2004
-@@ -1,7 +1,7 @@
+--- configure.orig Sat Feb 26 10:40:57 2005
++++ configure Wed Mar 2 02:51:00 2005
+@@ -1,12 +1,12 @@
-#!/bin/bash
+#!/bin/sh
@@ -10,3 +10,9 @@
if [ $? = 0 ]; then
MAKE=gmake
fi
+
+-uname | grep FreeBSD >& /dev/null
++uname | grep FreeBSD > /dev/null
+ if [ $? = 0 ]; then
+ FREEBSD=1
+ else
diff --git a/chinese/gcin/files/patch-gcin-im-client.c b/chinese/gcin/files/patch-gcin-im-client.c
new file mode 100644
index 000000000000..55047683061d
--- /dev/null
+++ b/chinese/gcin/files/patch-gcin-im-client.c
@@ -0,0 +1,14 @@
+--- 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
+@@ -68,11 +68,7 @@
+ save_old_sigaction_single(SIGCHLD, &ori_act);
+
+ if ((pid=fork())==0) {
+-#if FREEBSD
+ setgrp();
+-#else
+- setpgrp();
+-#endif
+ execl(execbin, "gcin", NULL);
+ } else {
+ sleep(1);
diff --git a/chinese/gcin/files/patch-gcin-user-setup b/chinese/gcin/files/patch-gcin-user-setup
new file mode 100644
index 000000000000..0f6915e341db
--- /dev/null
+++ b/chinese/gcin/files/patch-gcin-user-setup
@@ -0,0 +1,8 @@
+--- scripts/gcin-user-setup.orig Thu Dec 23 11:20:56 2004
++++ scripts/gcin-user-setup Mon Jan 31 23:36:59 2005
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ if [ -z "$1" ]; then
+ echo "please specify gcin table dir"
diff --git a/chinese/gcin/files/patch-gcin-utf8-setup b/chinese/gcin/files/patch-gcin-utf8-setup
new file mode 100644
index 000000000000..b04fc32f2adc
--- /dev/null
+++ b/chinese/gcin/files/patch-gcin-utf8-setup
@@ -0,0 +1,8 @@
+--- scripts/gcin-utf8-setup.orig Tue Sep 28 09:19:26 2004
++++ scripts/gcin-utf8-setup Mon Jan 31 23:37:11 2005
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ cd
+
diff --git a/chinese/gcin/files/patch-im-srv.c b/chinese/gcin/files/patch-im-srv.c
new file mode 100644
index 000000000000..f30f10b28bfa
--- /dev/null
+++ b/chinese/gcin/files/patch-im-srv.c
@@ -0,0 +1,11 @@
+--- im-srv/im-srv.c.orig Mon Feb 14 10:18:04 2005
++++ im-srv/im-srv.c Wed Mar 2 02:49:58 2005
+@@ -121,7 +121,7 @@
+ char sock_path[128];
+ get_gcin_im_srv_sock_path(sock_path, sizeof(sock_path));
+ strcpy(serv_addr.sun_path, sock_path);
+- servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family);
++ servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family) + 1;
+
+ dbg("-- %s\n",serv_addr.sun_path);
+ struct stat st;