summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-02-25 16:29:41 +0000
committerAron Griffis <agriffis@gentoo.org>2003-02-25 16:29:41 +0000
commit47ef1c449eb6d2c7ff088a6a61b9632425f8c694 (patch)
treeb0f41f1f2c76fdece0e4ad1ca454b1763ed42a82 /gnome-extra/libgtkhtml
parentAdded hppa to keywords. (diff)
downloadhistorical-47ef1c449eb6d2c7ff088a6a61b9632425f8c694.tar.gz
historical-47ef1c449eb6d2c7ff088a6a61b9632425f8c694.tar.bz2
historical-47ef1c449eb6d2c7ff088a6a61b9632425f8c694.zip
fix bug 16319 for alpha
Diffstat (limited to 'gnome-extra/libgtkhtml')
-rw-r--r--gnome-extra/libgtkhtml/ChangeLog8
-rw-r--r--gnome-extra/libgtkhtml/files/digest-libgtkhtml-2.2.0-r11
-rw-r--r--gnome-extra/libgtkhtml/files/libgtkhtml-2.2.0-alpha.patch11
-rw-r--r--gnome-extra/libgtkhtml/libgtkhtml-2.2.0-r1.ebuild32
4 files changed, 51 insertions, 1 deletions
diff --git a/gnome-extra/libgtkhtml/ChangeLog b/gnome-extra/libgtkhtml/ChangeLog
index 14d85fc17a54..d0d9210b9e9f 100644
--- a/gnome-extra/libgtkhtml/ChangeLog
+++ b/gnome-extra/libgtkhtml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-extra/libgtkhtml
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgtkhtml/ChangeLog,v 1.17 2003/02/22 04:38:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgtkhtml/ChangeLog,v 1.18 2003/02/25 16:29:41 agriffis Exp $
+
+*libgtkhtml-2.2.0-r1 (25 Feb 2003)
+
+ 25 Feb 2003; Aron Griffis <agriffis@gentoo.org> libgtkhtml-2.2.0-r1.ebuild,
+ files/libgtkhtml-2.2.0-alpha.patch:
+ Add fix for alpha floating point exception (bug #16319)
*libgtkhtml-2.2.0 (30 Jan 2003)
diff --git a/gnome-extra/libgtkhtml/files/digest-libgtkhtml-2.2.0-r1 b/gnome-extra/libgtkhtml/files/digest-libgtkhtml-2.2.0-r1
new file mode 100644
index 000000000000..51b812d3002d
--- /dev/null
+++ b/gnome-extra/libgtkhtml/files/digest-libgtkhtml-2.2.0-r1
@@ -0,0 +1 @@
+MD5 55681a938ed9f8ae121f38556d36e9a6 libgtkhtml-2.2.0.tar.bz2 33317
diff --git a/gnome-extra/libgtkhtml/files/libgtkhtml-2.2.0-alpha.patch b/gnome-extra/libgtkhtml/files/libgtkhtml-2.2.0-alpha.patch
new file mode 100644
index 000000000000..488c1b116f75
--- /dev/null
+++ b/gnome-extra/libgtkhtml/files/libgtkhtml-2.2.0-alpha.patch
@@ -0,0 +1,11 @@
+--- libgtkhtml-2.2.0/libgtkhtml/layout/htmlboxtable.c.old 2003-01-06 11:06:15.000000000 -0500
++++ libgtkhtml-2.2.0/libgtkhtml/layout/htmlboxtable.c 2003-02-24 18:17:59.000000000 -0500
+@@ -503,7 +503,7 @@
+ for (i=0; i< table->cols; i++) {
+ if (table->col_info[i].style_width.type == type) {
+ /* Make the space added proportional against the max width of the column */
+- gint to_add = (gint)((float) table->col_info[i].max / (float) max_width * (float)tmp);
++ gint to_add = max_width ? (gint)((float) table->col_info[i].max / (float) max_width * (float)tmp) : 0; // don't div by zero on alpha
+ if (to_add == 0)
+ to_add = 1;
+
diff --git a/gnome-extra/libgtkhtml/libgtkhtml-2.2.0-r1.ebuild b/gnome-extra/libgtkhtml/libgtkhtml-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..896b535f67ea
--- /dev/null
+++ b/gnome-extra/libgtkhtml/libgtkhtml-2.2.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgtkhtml/libgtkhtml-2.2.0-r1.ebuild,v 1.1 2003/02/25 16:29:41 agriffis Exp $
+
+inherit eutils gnome2
+
+S=${WORKDIR}/${P}
+DESCRIPTION="a Gtk+ based HTML rendering library"
+HOMEPAGE="http://www.gnome.org/"
+SLOT="1"
+LICENSE="LGPL-2.1 GPL-2"
+KEYWORDS="~x86 ~ppc alpha"
+
+RDEPEND=">=x11-libs/gtk+-2.1
+ >=dev-libs/libxml2-2.4.16
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/gail-1"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0"
+
+DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO docs/IDEAS"
+
+MAKEOPTS="-j1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ if use alpha; then
+ epatch ${FILESDIR}/libgtkhtml-2.2.0-alpha.patch || die
+ fi
+}