aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-04-07 23:28:14 +0800
committervanilla <vanilla@FreeBSD.org>2005-04-07 23:28:14 +0800
commitc00280bf37916f676a4b90ed27fdbc79e94bbe6c (patch)
tree30d792d8b762f5a7b71f07eae0bc2b588ded3bd6 /chinese/gcin/files
parenta5a274f30c52665a2fd9ce049975be3279c132d6 (diff)
downloadfreebsd-ports-gnome-c00280bf37916f676a4b90ed27fdbc79e94bbe6c.tar.gz
freebsd-ports-gnome-c00280bf37916f676a4b90ed27fdbc79e94bbe6c.tar.zst
freebsd-ports-gnome-c00280bf37916f676a4b90ed27fdbc79e94bbe6c.zip
Upgrade to 0.9.0.
Submitted by: chinsan <chinsan_at_mail2000.com.tw> Approved by: maintainer
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r--chinese/gcin/files/patch-Makefile17
-rw-r--r--chinese/gcin/files/patch-configure8
-rw-r--r--chinese/gcin/files/patch-gcin-im-client.c18
-rw-r--r--chinese/gcin/files/patch-im-srv.c9
4 files changed, 17 insertions, 35 deletions
diff --git a/chinese/gcin/files/patch-Makefile b/chinese/gcin/files/patch-Makefile
deleted file mode 100644
index f8d6f0887a94..000000000000
--- a/chinese/gcin/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig Fri Feb 25 21:40:34 2005
-+++ Makefile Wed Mar 2 18:27:45 2005
-@@ -85,12 +85,12 @@
- $(MAKE) -C gtk-im install
- if [ $(prefix) = /usr/local ]; then \
- install -m 644 gcin.png /usr/share/icons; \
-- install -d $(DOC_DIR); \
-- install -m 644 README $(DOC_DIR); \
- install $(PROGS) $(bindir); \
- else \
- install -s $(PROGS) $(bindir); \
- fi
-+ install -d $(DOC_DIR); \
-+ install -m 644 README $(DOC_DIR); \
- $(MAKE) -C scripts install
- $(MAKE) -C menu install
- clean:
diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure
index aa44e7cc069a..fca55df3d394 100644
--- a/chinese/gcin/files/patch-configure
+++ b/chinese/gcin/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Sat Feb 26 03:40:57 2005
-+++ configure Sun Mar 20 16:09:31 2005
+--- configure.orig Thu Apr 7 08:59:13 2005
++++ configure Thu Apr 7 09:01:06 2005
@@ -1,12 +1,12 @@
-#!/bin/bash
+#!/bin/sh
@@ -25,12 +25,14 @@
echo "MAKE=$MAKE" >> config.mak
echo "GTKINC=$GTKINC" >> config.mak
echo "prefix=$prefix" >> config.mak
-@@ -78,7 +78,7 @@
+@@ -78,8 +78,8 @@
echo "GCIN_SCRIPT_DIR=\$(datadir_r)/gcin/script" >> config.mak
echo "GCIN_SCRIPT_DIR_i=\$(datadir)/gcin/script" >> config.mak
echo "OPTFLAGS=$OPTFLAGS" >> config.mak
-echo "DOC_DIR=\$(datadir_r)/doc/gcin-$GCIN_VERSION" >> config.mak
+-echo "DOC_DIR_i=\$(datadir)/doc/gcin-$GCIN_VERSION" >> config.mak
+echo "DOC_DIR=\$(datadir_r)/doc/gcin" >> config.mak
++echo "DOC_DIR_i=\$(datadir)/doc/gcin" >> config.mak
echo "GCIN_ICON_DIR=\$(datadir_r)/icons/gcin" >> config.mak
echo "SYS_ICON_DIR=\$(datadir_r)/icons" >> config.mak
echo "GCIN_ICON_DIR_i=\$(datadir)/icons/gcin" >> config.mak
diff --git a/chinese/gcin/files/patch-gcin-im-client.c b/chinese/gcin/files/patch-gcin-im-client.c
index 55ce02b9fd48..d6a96ccd21cb 100644
--- a/chinese/gcin/files/patch-gcin-im-client.c
+++ b/chinese/gcin/files/patch-gcin-im-client.c
@@ -1,15 +1,11 @@
---- im-client/gcin-im-client.c.orig Sat Feb 26 10:39:12 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();
--#else
+--- 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
+@@ -71,7 +71,7 @@
+ #if FREEBSD
+ setgrp();
+ #else
- setpgrp();
--#endif
+ setpgrp(0, 0);
+ #endif
execl(execbin, "gcin", NULL);
} else {
- sleep(1);
diff --git a/chinese/gcin/files/patch-im-srv.c b/chinese/gcin/files/patch-im-srv.c
index b3b1ad197fa2..b5671f227660 100644
--- a/chinese/gcin/files/patch-im-srv.c
+++ b/chinese/gcin/files/patch-im-srv.c
@@ -1,10 +1,11 @@
---- im-srv/im-srv.c.orig Mon Feb 14 10:18:04 2005
-+++ im-srv/im-srv.c Fri Mar 11 01:43:51 2005
-@@ -121,7 +121,11 @@
+--- im-srv/im-srv.c.orig Thu Apr 7 09:11:24 2005
++++ im-srv/im-srv.c Thu Apr 7 09:11:01 2005
+@@ -121,7 +121,12 @@
char sock_path[128];
get_gcin_im_srv_sock_path(sock_path, sizeof(sock_path));
strcpy(serv_addr.sun_path, sock_path);
-+#ifdef SUN_LEN
++
++#ifdef SUN_LEN
+ servlen = SUN_LEN (&serv_addr);
+#else
servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family);