summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-12-02 10:01:39 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-12-02 10:01:39 +0000
commit0fb565056884df92fa8b4c0e28f06d5c51cb50bc (patch)
treec8c4c03de81620e6016ad9326007d7dd61aecfad /gnome-extra/gucharmap
parentremoving broken 22-r1 ebuild (diff)
downloadgentoo-2-0fb565056884df92fa8b4c0e28f06d5c51cb50bc.tar.gz
gentoo-2-0fb565056884df92fa8b4c0e28f06d5c51cb50bc.tar.bz2
gentoo-2-0fb565056884df92fa8b4c0e28f06d5c51cb50bc.zip
Patch to make it compile under gcc2
Diffstat (limited to 'gnome-extra/gucharmap')
-rw-r--r--gnome-extra/gucharmap/ChangeLog6
-rw-r--r--gnome-extra/gucharmap/Manifest5
-rw-r--r--gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch13
-rw-r--r--gnome-extra/gucharmap/gucharmap-1.2.0.ebuild11
4 files changed, 30 insertions, 5 deletions
diff --git a/gnome-extra/gucharmap/ChangeLog b/gnome-extra/gucharmap/ChangeLog
index bbbdef8f540b..b97dd4db26d1 100644
--- a/gnome-extra/gucharmap/ChangeLog
+++ b/gnome-extra/gucharmap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/gucharmap
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/ChangeLog,v 1.14 2003/11/25 23:02:29 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/ChangeLog,v 1.15 2003/12/02 10:01:33 leonardop Exp $
+
+ 02 Dec 2003; L. Boshell <leonardop@gentoo.org> gucharmap-1.2.0.ebuild,
+ files/gucharmap-1.2.0-gcc2_fix.patch:
+ Added patch to fix compilation under gcc2.
*gucharmap-1.2.0 (25 Nov 2003)
diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest
index 4e7a4c1431c6..101d7436e8b3 100644
--- a/gnome-extra/gucharmap/Manifest
+++ b/gnome-extra/gucharmap/Manifest
@@ -1,6 +1,7 @@
-MD5 a0480ded82441fcda9fa93f2be9c2a31 gucharmap-1.2.0.ebuild 1040
+MD5 52fe62a7f8c9f5f5c83ca9d7252a082f ChangeLog 2323
MD5 805190d51610a910cdb4d9e22401684c gucharmap-1.0.0.ebuild 1012
-MD5 06e2638f5527a5f7d4dbbe5284c0d94d ChangeLog 2160
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 edda80f13eb6ecd7dc92a9bd8d555446 gucharmap-1.2.0.ebuild 1126
MD5 36fb8d54a4e85ae8f4ca7506325e73d6 files/digest-gucharmap-1.0.0 69
MD5 83a76bca1a1ecdfd6fe04aa8ef5536d6 files/digest-gucharmap-1.2.0 69
+MD5 2d194fe17e6be8b8c4c7c23ffd02f87b files/gucharmap-1.2.0-gcc2_fix.patch 516
diff --git a/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch b/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch
new file mode 100644
index 000000000000..dd42286d5499
--- /dev/null
+++ b/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch
@@ -0,0 +1,13 @@
+diff -NurB gucharmap-1.2.0-orig/gucharmap/gucharmap-window.c gucharmap-1.2.0/gucharmap/gucharmap-window.c
+--- gucharmap-1.2.0-orig/gucharmap/gucharmap-window.c 2003-12-04 07:38:13.000000000 -0500
++++ gucharmap-1.2.0/gucharmap/gucharmap-window.c 2003-12-04 07:39:01.000000000 -0500
+@@ -113,8 +113,8 @@
+ {
+ const gchar *no_leading_space, *nptr;
+ char *endptr;
+- g_assert (direction == -1 || direction == 1);
+ gunichar wc;
++ g_assert (direction == -1 || direction == 1);
+
+ if (search_text[0] == '\0')
+ {
diff --git a/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild b/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild
index af639e4e85f1..1b9952a065f9 100644
--- a/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild
+++ b/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild,v 1.1 2003/11/25 23:02:29 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gucharmap/gucharmap-1.2.0.ebuild,v 1.2 2003/12/02 10:01:33 leonardop Exp $
inherit gnome2 eutils
DESCRIPTION="Unicode charachter map viewer"
-HOMEPAGE="http://gucharmap.sourceforge.net"
+HOMEPAGE="http://gucharmap.sourceforge.net/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
@@ -26,6 +26,13 @@ DEPEND="${RDEPEND}
G2CONF="${G2CONF} $(use_enable gnome) $(use_enable cjk unihan) --disable-gtk-immodules"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
+}
+
pkg_postinst() {
einfo "Registering GTK+ input modules..."