summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-29 16:10:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-29 16:10:06 +0000
commit638361cd0ddeb816eaf338acdbfbcc2fa1dd45b3 (patch)
treef7c2f43b313bca163276f6d8cd4eb2f998b708ee /app-i18n/xcin
parentmake sure that all installed files are in ${S}, reported by flameeyes in bug ... (diff)
downloadhistorical-638361cd0ddeb816eaf338acdbfbcc2fa1dd45b3.tar.gz
historical-638361cd0ddeb816eaf338acdbfbcc2fa1dd45b3.tar.bz2
historical-638361cd0ddeb816eaf338acdbfbcc2fa1dd45b3.zip
Fix building with GLIBC 2.10+ wrt #298015.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/xcin')
-rw-r--r--app-i18n/xcin/ChangeLog8
-rw-r--r--app-i18n/xcin/Manifest5
-rw-r--r--app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch110
-rw-r--r--app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild7
4 files changed, 123 insertions, 7 deletions
diff --git a/app-i18n/xcin/ChangeLog b/app-i18n/xcin/ChangeLog
index 704a66d3d8b8..c511f67ceefe 100644
--- a/app-i18n/xcin/ChangeLog
+++ b/app-i18n/xcin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/xcin
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.19 2008/05/04 17:49:08 nixnut Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.20 2009/12/29 16:10:05 ssuominen Exp $
+
+ 29 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ xcin-2.5.3_pre3-r2.ebuild, +files/xcin-2.5.3_pre3-glibc-2.10.patch:
+ Fix building with GLIBC 2.10+ wrt #298015.
04 May 2008; nixnut <nixnut@gentoo.org> xcin-2.5.3_pre3-r2.ebuild:
Stable on ppc wrt bug 148096
diff --git a/app-i18n/xcin/Manifest b/app-i18n/xcin/Manifest
index 8aa0a6fdb111..72cc81699c66 100644
--- a/app-i18n/xcin/Manifest
+++ b/app-i18n/xcin/Manifest
@@ -1,5 +1,6 @@
+AUX xcin-2.5.3_pre3-glibc-2.10.patch 5024 RMD160 56c1e67dd0d3717b259551179172cafbcbc861b7 SHA1 50c380b8effb0132000f7c601304f75a35ea3875 SHA256 f5887cb991098495d783fa72acf419bc6edee2dd7f7c4068570bb8386b812272
DIST xcin_2.5.2.99.pre2+cvs20030224-1.4.diff.gz 1321937 RMD160 5d15bc8d40ade8a09950c78cc13a2c9ba7d69784 SHA1 2973e33d3946562da4c6304ee888705292c07f1c SHA256 0497739e131da49169fe75f9155bb924cdc31c9be6d8ebd3eedb4afc935f71ad
DIST xcin_2.5.2.99.pre2+cvs20030224.orig.tar.gz 1530591 RMD160 41dd86f6c952b7480e11acd5decce92c6243a766 SHA1 d8c234c36175cbf2bae5dc600d25d612bdddbb8f SHA256 a86f0e5aa877d579731ac514a0072beaf3fecd6f181f068be29f091d6281e9ae
-EBUILD xcin-2.5.3_pre3-r2.ebuild 1649 RMD160 03b854cdc47b72b9d71d550b33dc77b1b0a70d88 SHA1 fdce14a4ef7096d939fb379f4e622380bbefb775 SHA256 8e8f559d23d336755b350397e2990aee8405a76c3a4ac206f8f8cc1d659ac75a
-MISC ChangeLog 2642 RMD160 58e79675da97be7af1ccf1b5a3acc7bfe0dabef0 SHA1 071d8f7d97ac0219cb59834d668d5771dc7f183b SHA256 b746ee5aae4d9b0d7697d6b24aa713e2620c96929af6788d5205b2cd88604e31
+EBUILD xcin-2.5.3_pre3-r2.ebuild 1703 RMD160 d14f7e64a1a28173eaf1adcc8980e824085ae796 SHA1 ac71ebd84fdc211c21730c5ee4c92e73078af305 SHA256 d45bdec44ba571aeacc3df439862b75d69b652f2d1453f1d630cab8015161e9f
+MISC ChangeLog 2815 RMD160 525c14e745678a435032ef411cae60b6ad5a32e9 SHA1 73ae47cdda857cde2e1682320a279b96078a65f0 SHA256 82b9a64c30ebd7019eff49b32c1b901eb64067fc9c889666129c8bbd5cc3d02a
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch b/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch
new file mode 100644
index 000000000000..3d472f95b0f4
--- /dev/null
+++ b/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch
@@ -0,0 +1,110 @@
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/doc/En/internal/module.En xcin-2.5.2.99.pre2+cvs20030224/doc/En/internal/module.En
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/doc/En/internal/module.En 2000-12-13 18:55:41.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/doc/En/internal/module.En 2009-12-29 18:09:20.000000000 +0200
+@@ -481,13 +481,13 @@
+ char *lc_ctype; /* LC_CTYPE locale category name */
+ char *lc_messages; /* LC_MESSAGES locale category name */
+ char *encoding; /* encoding name */
+- } locale_t;
++ } xcin_locale_t;
+
+ typedef struct {
+ char *rcfile; /* rcfile name. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ } xcin_rc_t;
+
+ The return value of this function is True when excuting successfully,
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/doc/internal/module xcin-2.5.2.99.pre2+cvs20030224/doc/internal/module
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/doc/internal/module 2002-10-29 13:53:42.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/doc/internal/module 2009-12-29 18:09:24.000000000 +0200
+@@ -423,13 +423,13 @@
+ char *lc_ctype; /* LC_CTYPE locale category name */
+ char *lc_messages; /* LC_MESSAGES locale category name */
+ char *encoding; /* encoding name */
+- } locale_t;
++ } xcin_locale_t;
+
+ typedef struct {
+ char *rcfile; /* rcfile name. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ } xcin_rc_t;
+
+ 本函式若成功傳回 True, 失敗傳回 False。
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/include/xcintool.h xcin-2.5.2.99.pre2+cvs20030224/src/include/xcintool.h
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/include/xcintool.h 2002-10-29 13:53:42.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/include/xcintool.h 2009-12-29 18:09:01.000000000 +0200
+@@ -202,12 +202,12 @@
+ char *lc_messages;
+ char *encoding;
+ int encid, locid;
+-} locale_t;
++} xcin_locale_t;
+
+ typedef struct {
+ int argc; /* Command line arguement list */
+ char **argv;
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ char *usrhome; /* User home directory. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/cin2tab.c xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/cin2tab.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/cin2tab.c 2009-12-29 18:07:44.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/cin2tab.c 2009-12-29 18:09:12.000000000 +0200
+@@ -233,7 +233,7 @@
+ }
+
+ static void
+-cin2tab_setlocale(locale_t *locale)
++cin2tab_setlocale(xcin_locale_t *locale)
+ {
+ char loc_return[128], enc_return[128];
+ int ret;
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/xcin_main.c xcin-2.5.2.99.pre2+cvs20030224/src/xcin_main.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/xcin_main.c 2003-01-20 19:50:05.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/xcin_main.c 2009-12-29 18:09:06.000000000 +0200
+@@ -56,7 +56,7 @@
+ static void
+ xcin_setlocale(void)
+ {
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ char loc_return[128], enc_return[128];
+
+ set_perr("xcin");
+@@ -332,7 +332,7 @@
+ char *cmd[2], value[256], *s, loc_buf[64], *loc_name=NULL;
+ char *fmt = N_("%s:\n\tlocale section \"%s\": %s: value not specified.\n");
+ xcin_rc_t *xrc = &(xcin_core.xcin_rc);
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ /*
+ * Determine the true locale setting name.
+ */
+@@ -409,7 +409,7 @@
+ char *cmd[2], value[256], *s, *s1, objname[100], objenc[100];
+ char *fmt = N_("%s:\n\tIM section \"%s\": %s: %s.\n");
+ xcin_rc_t *xrc = &(xcin_core.xcin_rc);
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ int setkey;
+ /*
+ * Go to each CINPUT sub-node and read important keywords.
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/xim.c xcin-2.5.2.99.pre2+cvs20030224/src/xim.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/xim.c 2009-12-29 18:07:44.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/xim.c 2009-12-29 18:09:06.000000000 +0200
+@@ -1032,7 +1032,7 @@
+ XIMTriggerKeys on_keys;
+ XIMEncodings encodings;
+ Window mainwin;
+- locale_t *locale;
++ xcin_locale_t *locale;
+ char* imlocale = NULL;
+ int i;
+
diff --git a/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild b/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
index 03881dcac126..c466aabb09bb 100644
--- a/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
+++ b/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild,v 1.3 2008/05/04 17:49:08 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild,v 1.4 2009/12/29 16:10:05 ssuominen Exp $
inherit multilib eutils autotools libtool
@@ -13,7 +13,7 @@ SRC_URI="mirror://debian/pool/main/x/${PN}/${MY_P}.orig.tar.gz
LICENSE="XCIN GPL-2"
SLOT="0"
-KEYWORDS="ppc x86"
+KEYWORDS="~amd64 ppc x86"
IUSE="debug nls unicode"
RDEPEND=">=sys-libs/db-4.5
@@ -31,6 +31,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${WORKDIR}"/${MY_P}-1.4.diff
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
rm -f configure
cd script
elibtoolize