summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-06-23 15:05:56 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-06-23 15:05:56 +0000
commitff8b516d224e3df53076be9cd0a003ff19528b92 (patch)
treec8eeac5b9e0a160d68df9427d1889750b89b8245 /app-i18n/scim-sayura
parentDelete deprecation warning (bug #313465). (diff)
downloadhistorical-ff8b516d224e3df53076be9cd0a003ff19528b92.tar.gz
historical-ff8b516d224e3df53076be9cd0a003ff19528b92.tar.bz2
historical-ff8b516d224e3df53076be9cd0a003ff19528b92.zip
Fix gcc-4.5 compilation wrt bug #320879 thanks to xarthisius
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/scim-sayura')
-rw-r--r--app-i18n/scim-sayura/ChangeLog9
-rw-r--r--app-i18n/scim-sayura/Manifest5
-rw-r--r--app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch15
-rw-r--r--app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild12
4 files changed, 35 insertions, 6 deletions
diff --git a/app-i18n/scim-sayura/ChangeLog b/app-i18n/scim-sayura/ChangeLog
index 09577c99f64e..584ca2acb9ac 100644
--- a/app-i18n/scim-sayura/ChangeLog
+++ b/app-i18n/scim-sayura/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/scim-sayura
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-sayura/ChangeLog,v 1.1 2009/04/23 13:59:27 matsuu Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-sayura/ChangeLog,v 1.2 2010/06/23 15:05:56 hwoarang Exp $
+
+ 23 Jun 2010; Markos Chandras <hwoarang@gentoo.org>
+ scim-sayura-0.3.3.ebuild, +files/scim-sayura-0.3.3-gcc45.patch:
+ Fix gcc-4.5 compilation wrt bug #320879 thanks to Kacper Kowalik
+ (Xarthisius)
*scim-sayura-0.3.3 (23 Apr 2009)
diff --git a/app-i18n/scim-sayura/Manifest b/app-i18n/scim-sayura/Manifest
index 45a0d874390a..c8dba7ee0855 100644
--- a/app-i18n/scim-sayura/Manifest
+++ b/app-i18n/scim-sayura/Manifest
@@ -1,4 +1,5 @@
+AUX scim-sayura-0.3.3-gcc45.patch 349 RMD160 fad6a8e105773a729fe85c2083555b10473525df SHA1 d6810fc630ce96957abee63ff9f5d2f93c807a2f SHA256 d9ade4d12fe7db8ad2757d7f7773b0b2a41f48476e3494301c26fbf614a4f75c
DIST scim-sayura-0.3.3.tar.gz 380147 RMD160 d88888d5bf2894fd628d02748552915f0a8af37b SHA1 71b69503fd2940fa2e374e0450bbf81f8a7c1eb3 SHA256 a6557fdfea8d2f475d4ef32478ace5b5ad0ba3b89eea7b1d8802ee1a1f80f788
-EBUILD scim-sayura-0.3.3.ebuild 684 RMD160 e88cb0a2032bdd29ff1a984c205ff06e4f98c165 SHA1 9172d00551d3a838cfb87b1024357f6b4addfde1 SHA256 fef03e5a265c93990842910e609b658d13d669602362fe659d7a93ed50d730fd
-MISC ChangeLog 422 RMD160 9721c3fbaa932437d7cd4bff3b267dfee6e23efe SHA1 2c1a4b8b8386cda1b703e35a31928e14a646c395 SHA256 9e80faa24f39e3360fa0a1c1a60341b8e1306eb7bc9bc6c1a98315da51299f74
+EBUILD scim-sayura-0.3.3.ebuild 783 RMD160 e9cda32799849c04dc92a3622998a1ac1262dd32 SHA1 b78ff847f3811c80e6d51b243844607e9cb621e5 SHA256 d4f0786b96c72411baab5346c8c8b88a5a07976fce1b959df185c8a0c1c57ec9
+MISC ChangeLog 626 RMD160 19de5197872e524d43961b3550c8fb6348c276ad SHA1 7a25935462fcdec0e50e4cad73a6a701206a8c6e SHA256 6c3863b637392c85a1f7ed670a5927b713fbebc74b16ea323c23da0e36415966
MISC metadata.xml 268 RMD160 e0e8308296ab2c212444c9baa7ba65b3f464c8ed SHA1 e48a83a0316dc659e8baf1c094504547b76ced92 SHA256 702ace617a6f3a0bcc3d3ea5916d0ac02e03b89b03757ae24af5d9e8258a52d9
diff --git a/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
new file mode 100644
index 000000000000..64ee87416011
--- /dev/null
+++ b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
@@ -0,0 +1,15 @@
+Fixing build with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=320879
+
+--- src/scim_sinhala_imengine.cpp
++++ src/scim_sinhala_imengine.cpp
+@@ -233,7 +233,7 @@
+
+ void SinhalaInstance::backspace()
+ {
+- KeyEvent e = scim::KeyEvent::KeyEvent(SCIM_KEY_BackSpace, 0);
++ KeyEvent e = scim::KeyEvent(SCIM_KEY_BackSpace, 0);
+ forward_key_event(e);
+ }
+
diff --git a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
index 60be56c5426f..af165b19573b 100644
--- a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
+++ b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild,v 1.1 2009/04/23 13:59:27 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild,v 1.2 2010/06/23 15:05:56 hwoarang Exp $
+
+EAPI="2"
+
+inherit eutils
DESCRIPTION="Sayura Sinhala input method for SCIM"
HOMEPAGE="http://www.sayura.net/im/"
@@ -15,6 +19,10 @@ RDEPEND=">=app-i18n/scim-0.99.8"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"