summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-08-25 06:39:22 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-08-25 06:39:22 +0000
commit972d434f7c24bf28d57b5f24dd6b6f525eb2b920 (patch)
tree6d2310e258e0bc00eaabb2d771acbb8bc194ac33 /gnome-extra/gtkhtml
parentnew ebuild added (Manifest recommit) (diff)
downloadgentoo-2-972d434f7c24bf28d57b5f24dd6b6f525eb2b920.tar.gz
gentoo-2-972d434f7c24bf28d57b5f24dd6b6f525eb2b920.tar.bz2
gentoo-2-972d434f7c24bf28d57b5f24dd6b6f525eb2b920.zip
Fixing compile problems with gcc-34. Bug #52037
Diffstat (limited to 'gnome-extra/gtkhtml')
-rw-r--r--gnome-extra/gtkhtml/ChangeLog6
-rw-r--r--gnome-extra/gtkhtml/files/gtkhtml-gcc34.patch11
-rw-r--r--gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild11
3 files changed, 25 insertions, 3 deletions
diff --git a/gnome-extra/gtkhtml/ChangeLog b/gnome-extra/gtkhtml/ChangeLog
index bd9f8686173e..0d5f3af55217 100644
--- a/gnome-extra/gtkhtml/ChangeLog
+++ b/gnome-extra/gtkhtml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/gtkhtml
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/ChangeLog,v 1.41 2004/06/24 22:06:53 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/ChangeLog,v 1.42 2004/08/25 06:39:22 sekretarz Exp $
+
+ 25 Aug 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ gtkhtml-1.1.10-r1.ebuild:
+ Fixing compile problems with gcc-34. Bug #52037
25 Mar 2004; Martin Holzer <mholzer@gentoo.org> gtkhtml-1.1.10.ebuild:
fixing depend. see 45343
diff --git a/gnome-extra/gtkhtml/files/gtkhtml-gcc34.patch b/gnome-extra/gtkhtml/files/gtkhtml-gcc34.patch
new file mode 100644
index 000000000000..020301260140
--- /dev/null
+++ b/gnome-extra/gtkhtml/files/gtkhtml-gcc34.patch
@@ -0,0 +1,11 @@
+diff -ur gtkhtml-1.1.10-orig/components/html-editor/popup.c gtkhtml-1.1.10/components/html-editor/popup.c
+--- gtkhtml-1.1.10-orig/components/html-editor/popup.c 2004-05-25 00:27:37.463103516 -0400
++++ gtkhtml-1.1.10/components/html-editor/popup.c 2004-05-25 00:28:20.916203966 -0400
+@@ -496,6 +496,7 @@
+ ADD_PROP (PARAGRAPH);
+ break;
+ default:
++ break;
+ }
+ if (obj->parent && obj->parent->parent && HTML_IS_TABLE_CELL (obj->parent->parent)) {
+ if (cd->format_html) {
diff --git a/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild b/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild
index 9b944538abb5..999beb077408 100644
--- a/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild
+++ b/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild,v 1.5 2004/07/14 15:55:08 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/gtkhtml-1.1.10-r1.ebuild,v 1.6 2004/08/25 06:39:22 sekretarz Exp $
-inherit gnome.org libtool
+inherit gnome.org libtool eutils
MY_PV="`echo ${PV} | cut -d. -f1,2`"
DESCRIPTION="Lightweight HTML rendering/printing/editing engine."
@@ -31,6 +31,13 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext
>=dev-util/intltool-0.11 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-gcc34.patch
+}
+
src_compile() {
elibtoolize