aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/gcin/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-09-21 00:13:36 +0800
committervanilla <vanilla@FreeBSD.org>2005-09-21 00:13:36 +0800
commitd7a3f2ba68f2b6d3dcabd5d8064b5097ed3b9645 (patch)
tree13d027b40e7248d37053e90321e0ef8b38bf5069 /chinese/gcin/files
parenta619653181c708ffd85144c839153228a9beb696 (diff)
downloadfreebsd-ports-gnome-d7a3f2ba68f2b6d3dcabd5d8064b5097ed3b9645.tar.gz
freebsd-ports-gnome-d7a3f2ba68f2b6d3dcabd5d8064b5097ed3b9645.tar.zst
freebsd-ports-gnome-d7a3f2ba68f2b6d3dcabd5d8064b5097ed3b9645.zip
Upgrade to 1.0.7.
PR: ports/86373 Submitted by: chinsan
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r--chinese/gcin/files/patch-configure34
-rw-r--r--chinese/gcin/files/patch-tsin.c11
2 files changed, 39 insertions, 6 deletions
diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure
index c4906975f463..b85112fcd4aa 100644
--- a/chinese/gcin/files/patch-configure
+++ b/chinese/gcin/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Tue May 24 19:14:40 2005
-+++ configure Mon Jun 13 23:57:03 2005
+--- configure.orig Fri Sep 16 13:38:02 2005
++++ configure Tue Sep 20 22:14:33 2005
@@ -1,12 +1,12 @@
-#!/bin/bash
+#!/bin/sh
@@ -16,7 +16,16 @@
if [ $? = 0 ]; then
FREEBSD=1
else
-@@ -50,7 +50,7 @@
+@@ -59,7 +59,7 @@
+ QT_IM='N'
+ for i in qt3 qt4
+ do
+- QT_IM_DIR=/usr/lib/$i/plugins/lib/inputmethods
++ QT_IM_DIR=$prefix/lib/$i/plugins/lib/inputmethods
+ echo "testing if you have QT_IM_MODULE dir:$QT_IM_DIR support"
+ if [ -d $QT_IM_DIR ]; then
+ QT_IM='Y'
+@@ -77,7 +77,7 @@
bindir=$prefix/bin
datadir=$prefix/share
@@ -24,8 +33,21 @@
+mandir=$prefix/man
libdir=$prefix/lib
includedir=$prefix/include
- GCIN_VERSION=`cat VERSION.gcin`
-@@ -61,7 +61,7 @@
+ optdir=/opt
+@@ -100,20 +100,13 @@
+ grep -v qt3/plugins/inputmethods gcin.spec.tmp > gcin.spec
+ fi
+
+-grep Cooker /etc/mandriva-release 2>1 | grep 2006 >& /dev/null
+-if [ $? = 0 ]; then
+- NEW_GTK_IM='Y'
+- echo "!!!! new gtk-im(im-gcin.so) will be enabled because you are using Cooker 2006."
+- echo "!!!! You have to install the latest libwidget_gtk2.so"
+-fi
+-
+
+ OPTFLAGS="-g"
+ if [ $prefix = /usr ]; then
OPTFLAGS="-O"
fi
@@ -34,7 +56,7 @@
echo "MAKE=$MAKE" >> config.mak
echo "GTKINC=$GTKINC" >> config.mak
echo "prefix=$prefix" >> config.mak
-@@ -81,8 +81,8 @@
+@@ -133,8 +126,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
diff --git a/chinese/gcin/files/patch-tsin.c b/chinese/gcin/files/patch-tsin.c
new file mode 100644
index 000000000000..d3e6c616dded
--- /dev/null
+++ b/chinese/gcin/files/patch-tsin.c
@@ -0,0 +1,11 @@
+--- tsin.c.orig Tue Sep 20 22:26:31 2005
++++ tsin.c Tue Sep 20 23:01:14 2005
+@@ -469,7 +469,7 @@
+ }
+
+ #define PH_SHIFT_N (tsin_buffer_size - 1)
+-void compact_win0_x();
++//void compact_win0_x();
+
+ static void shift_ins()
+ {