summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-10-29 10:42:10 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-10-29 10:42:10 +0000
commitc83a14e72e76f5345d1fe228b3fbbcf8d1ca50db (patch)
tree8c0b176a0bb854c0abc07f09a2c25af4d8a0f47c /x11-misc/gtkdialog
parentremove build and bzip2 USE flags (diff)
downloadgentoo-2-c83a14e72e76f5345d1fe228b3fbbcf8d1ca50db.tar.gz
gentoo-2-c83a14e72e76f5345d1fe228b3fbbcf8d1ca50db.tar.bz2
gentoo-2-c83a14e72e76f5345d1fe228b3fbbcf8d1ca50db.zip
Add patch for amd64, see bug #153230.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'x11-misc/gtkdialog')
-rw-r--r--x11-misc/gtkdialog/ChangeLog6
-rw-r--r--x11-misc/gtkdialog/files/digest-gtkdialog-0.59.82
-rw-r--r--x11-misc/gtkdialog/files/gtkdialog-0.59.8-amd64.patch12
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild16
4 files changed, 33 insertions, 3 deletions
diff --git a/x11-misc/gtkdialog/ChangeLog b/x11-misc/gtkdialog/ChangeLog
index df9465517a5e..14256b6c4c60 100644
--- a/x11-misc/gtkdialog/ChangeLog
+++ b/x11-misc/gtkdialog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/gtkdialog
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtkdialog/ChangeLog,v 1.14 2006/10/23 06:56:33 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtkdialog/ChangeLog,v 1.15 2006/10/29 10:42:10 nelchael Exp $
+
+ 29 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/gtkdialog-0.59.8-amd64.patch, gtkdialog-0.59.8.ebuild:
+ Add patch for amd64, see bug #153230.
23 Oct 2006; David Shakaryan <omp@gentoo.org> gtkdialog-0.59.8.ebuild:
Better DEPEND, RDEPEND should not include dev-util/pkgconfig.
diff --git a/x11-misc/gtkdialog/files/digest-gtkdialog-0.59.8 b/x11-misc/gtkdialog/files/digest-gtkdialog-0.59.8
index 15712f49ce3f..9d13d315e7de 100644
--- a/x11-misc/gtkdialog/files/digest-gtkdialog-0.59.8
+++ b/x11-misc/gtkdialog/files/digest-gtkdialog-0.59.8
@@ -1 +1,3 @@
MD5 cc51adbca8b2941fba2be5366b458bbe gtkdialog-0.59.8.tar.gz 239716
+RMD160 c38c76e778bc8b3b5d61195d790bd02c7e386102 gtkdialog-0.59.8.tar.gz 239716
+SHA256 b5c6f5d0290abfa388f8fcab4e67ccf270f817e9198d43dbed2a316f5e7aa6b2 gtkdialog-0.59.8.tar.gz 239716
diff --git a/x11-misc/gtkdialog/files/gtkdialog-0.59.8-amd64.patch b/x11-misc/gtkdialog/files/gtkdialog-0.59.8-amd64.patch
new file mode 100644
index 000000000000..48f72685a471
--- /dev/null
+++ b/x11-misc/gtkdialog/files/gtkdialog-0.59.8-amd64.patch
@@ -0,0 +1,12 @@
+diff -urN gtkdialog-0.59.8.orig/src/attributes.c gtkdialog-0.59.8/src/attributes.c
+--- gtkdialog-0.59.8.orig/src/attributes.c 2005-07-29 12:16:16.000000000 -0400
++++ gtkdialog-0.59.8/src/attributes.c 2006-10-28 03:34:20.000000000 -0400
+@@ -25,7 +25,7 @@
+ new_set = pip_malloc(sizeof(AttributeSet), __func__);
+ new_set->n_attr = ATTRNUMBER;
+ new_set->attr = pip_malloc(sizeof(GList *) * ATTRNUMBER, __func__);
+- new_set->_pointer = pip_malloc(sizeof(int) * ATTRNUMBER, __func__);
++ new_set->_pointer = pip_malloc(sizeof(GList *) * ATTRNUMBER, __func__);
+ for (n = 0; n < ATTRNUMBER; ++n) {
+ new_set->attr[n] = NULL;
+ new_set->_pointer[n] = NULL;
diff --git a/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild b/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild
index ed1115e6b19b..4456ee04e805 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild,v 1.6 2006/10/23 06:56:33 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gtkdialog/gtkdialog-0.59.8.ebuild,v 1.7 2006/10/29 10:42:10 nelchael Exp $
+
+inherit eutils
DESCRIPTION="GUI-creation utility that can be used with an arbitrary interpreter"
HOMEPAGE="http://linux.pte.hu/~pipas/gtkdialog/"
@@ -15,13 +17,23 @@ RDEPEND=">=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-amd64.patch"
+
+}
+
src_install(){
+
einstall || die "einstall failed"
dodoc AUTHORS ChangeLog NEWS README TODO
+
if use doc; then
mkdir -p "${D}/usr/share/${P}"
cp -r examples/* "${D}/usr/share/${P}"
fi
-}
+}