diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-02-11 23:54:38 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-02-11 23:54:38 +0000 |
commit | b98498256703c1377f25a7a4689a453a08eb6863 (patch) | |
tree | 38bedda1716718c249ab82adb5919de6e791b2a4 /x11-libs | |
parent | Added hppa to keywords. (diff) | |
download | gentoo-2-b98498256703c1377f25a7a4689a453a08eb6863.tar.gz gentoo-2-b98498256703c1377f25a7a4689a453a08eb6863.tar.bz2 gentoo-2-b98498256703c1377f25a7a4689a453a08eb6863.zip |
Added patch to prevent segfaults on Alpha
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/rep-gtk/ChangeLog | 6 | ||||
-rw-r--r-- | x11-libs/rep-gtk/files/digest-rep-gtk-0.17-r1 | 1 | ||||
-rw-r--r-- | x11-libs/rep-gtk/files/rep-gtk-0.17-64bit.patch | 24 | ||||
-rw-r--r-- | x11-libs/rep-gtk/rep-gtk-0.17-r1.ebuild | 57 |
4 files changed, 87 insertions, 1 deletions
diff --git a/x11-libs/rep-gtk/ChangeLog b/x11-libs/rep-gtk/ChangeLog index 1e9c8a6b8520..1a75eae88fa5 100644 --- a/x11-libs/rep-gtk/ChangeLog +++ b/x11-libs/rep-gtk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/rep-gtk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-libs/rep-gtk/ChangeLog,v 1.14 2003/02/05 16:45:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/rep-gtk/ChangeLog,v 1.15 2003/02/11 23:54:38 agriffis Exp $ + + 11 Feb 2003; Aron Griffis <agriffis@gentoo.org> rep-gtk-0.17-r1.ebuild files/digest-rep-gtk-0.17-r1 files/rep-gtk-0.17-64bit.patch : + Add patch to prevent segfaults on 64-bit machines such as Alpha. + Bump revision to -r1 to get the new version installed. 05 Feb 2003; Aron Griffis <agriffis@gentoo.org> rep-gtk-0.17.ebuild : Mark stable on alpha diff --git a/x11-libs/rep-gtk/files/digest-rep-gtk-0.17-r1 b/x11-libs/rep-gtk/files/digest-rep-gtk-0.17-r1 new file mode 100644 index 000000000000..e514e4a824c6 --- /dev/null +++ b/x11-libs/rep-gtk/files/digest-rep-gtk-0.17-r1 @@ -0,0 +1 @@ +MD5 0a7b4589f14ad89360863593f77232cf rep-gtk-0.17.tar.gz 14098 diff --git a/x11-libs/rep-gtk/files/rep-gtk-0.17-64bit.patch b/x11-libs/rep-gtk/files/rep-gtk-0.17-64bit.patch new file mode 100644 index 000000000000..133f7bc4909a --- /dev/null +++ b/x11-libs/rep-gtk/files/rep-gtk-0.17-64bit.patch @@ -0,0 +1,24 @@ +--- rep-gtk-0.17/rep-gtk.c 2002-03-16 01:34:49.000000000 -0500 ++++ rep-gtk-0.17.new/rep-gtk.c 2003-02-11 16:13:20.000000000 -0500 +@@ -684,8 +684,8 @@ + return handle; + } + +-int +-sgtk_is_a_gobj (guint type, repv obj) ++GtkType ++sgtk_is_a_gobj (GtkType type, repv obj) + { + if (!GOBJP (obj) || !G_IS_OBJECT (GOBJ_PROXY(obj)->obj)) + { +--- rep-gtk-0.17/rep-gtk.h 2002-02-13 02:50:27.000000000 -0500 ++++ rep-gtk-0.17.new/rep-gtk.h 2003-02-11 16:13:47.000000000 -0500 +@@ -105,7 +105,7 @@ + repv sgtk_fd_to_rep (int fd); + + repv sgtk_wrap_gobj (GObject *obj); +-int sgtk_is_a_gobj (guint type, repv obj); ++GtkType sgtk_is_a_gobj (GtkType type, repv obj); + GObject *sgtk_get_gobj (repv obj); + + /* compatibility */ diff --git a/x11-libs/rep-gtk/rep-gtk-0.17-r1.ebuild b/x11-libs/rep-gtk/rep-gtk-0.17-r1.ebuild new file mode 100644 index 000000000000..6419ead65902 --- /dev/null +++ b/x11-libs/rep-gtk/rep-gtk-0.17-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/rep-gtk/rep-gtk-0.17-r1.ebuild,v 1.1 2003/02/11 23:54:38 agriffis Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="A GTK+/libglade/GNOME language binding for the librep Lisp environment" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://rep-gtk.sourceforge.net/" +SLOT="gtk-2.0" +LICENSE="GPL-2" +KEYWORDS="~x86 alpha" + +DEPEND="virtual/glibc + >=dev-util/pkgconfig-0.12.0 + >=x11-libs/gtk+-2.0.3 + >=gnome-base/libbonobo-2.0.0 + >=gnome-base/libbonoboui-2.0.0 + >=gnome-base/libgnome-2.0.0 + >=gnome-base/libgnomeui-2.0.0 + >=gnome-base/libgnomecanvas-2.0.0 + >=gnome-base/libglade-2.0.0 + >=sys-devel/automake-1.6.1-r5 + >=dev-libs/librep-0.13" + +src_unpack() { + unpack ${A} || die + cd ${S} || die + epatch ${FILESDIR}/rep-gtk-0.17-64bit.patch || die +} + +src_compile() { + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-gnome \ + --with-libglade \ + --with-gdk-pixbuf \ + --infodir=/usr/share/info || die + + emake host_type=${CHOST} || die +} + +src_install() { + + make install \ + host_type=${CHOST} \ + installdir=${D}/usr/lib/rep/${CHOST} || die + + cd ${S} + dodoc AUTHORS BUGS COPYING ChangeLog HACKING \ + NEWS README* TODO +} + |