From 9ceb9ecb66b6df147e2f53c72f253081566011d6 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 24 Mar 2011 10:29:49 +0000 Subject: Use correct version on ebuild. Add patch for implicit pointer conversion. Bug #358797 (Portage version: 2.1.9.42/cvs/Linux x86_64) --- dev-perl/Gtk2-Unique/ChangeLog | 7 +++++- dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild | 29 ++++++++++++++++++++++ dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild | 25 ------------------- .../files/Gtk2-Unique-0.05-implicit-pointer.patch | 13 ++++++++++ 4 files changed, 48 insertions(+), 26 deletions(-) create mode 100644 dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild delete mode 100644 dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild create mode 100644 dev-perl/Gtk2-Unique/files/Gtk2-Unique-0.05-implicit-pointer.patch diff --git a/dev-perl/Gtk2-Unique/ChangeLog b/dev-perl/Gtk2-Unique/ChangeLog index adbe86ec0953..1d0d8733a032 100644 --- a/dev-perl/Gtk2-Unique/ChangeLog +++ b/dev-perl/Gtk2-Unique/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-perl/Gtk2-Unique # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/ChangeLog,v 1.3 2011/03/21 21:56:14 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/ChangeLog,v 1.4 2011/03/24 10:29:49 hwoarang Exp $ + + 24 Mar 2011; Markos Chandras +Gtk2-Unique-0.05.ebuild, + +files/Gtk2-Unique-0.05-implicit-pointer.patch, -Gtk2-Unique-0.50.0.ebuild: + Use correct version on ebuild. Add patch for implicit pointer conversion. Bug + #358797 21 Mar 2011; Nirbheek Chauhan Gtk2-Unique-0.50.0.ebuild: diff --git a/dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild b/dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild new file mode 100644 index 000000000000..f1bdca8a5253 --- /dev/null +++ b/dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/Gtk2-Unique-0.05.ebuild,v 1.3 2011/03/24 10:29:49 hwoarang Exp $ + +EAPI=3 + +MODULE_AUTHOR="POTYL" +MODULE_VERSION=0.05 +inherit eutils perl-module + +DESCRIPTION="Perl binding for C libunique library" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libunique:1 + dev-perl/gtk2-perl +" +DEPEND="${RDEPEND} + dev-perl/glib-perl + dev-perl/extutils-depends + dev-perl/extutils-pkgconfig +" + +src_prepare(){ + epatch "${FILESDIR}"/${P}-implicit-pointer.patch +} diff --git a/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild b/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild deleted file mode 100644 index 79575f1fd242..000000000000 --- a/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild,v 1.2 2011/03/21 21:56:14 nirbheek Exp $ - -EAPI=3 - -MODULE_AUTHOR="POTYL" -MODULE_VERSION=0.05 -inherit perl-module - -DESCRIPTION="Perl binding for C libunique library" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-libs/libunique:1 - dev-perl/gtk2-perl -" -DEPEND="${RDEPEND} - dev-perl/glib-perl - dev-perl/extutils-depends - dev-perl/extutils-pkgconfig -" diff --git a/dev-perl/Gtk2-Unique/files/Gtk2-Unique-0.05-implicit-pointer.patch b/dev-perl/Gtk2-Unique/files/Gtk2-Unique-0.05-implicit-pointer.patch new file mode 100644 index 000000000000..1df58449b8b4 --- /dev/null +++ b/dev-perl/Gtk2-Unique/files/Gtk2-Unique-0.05-implicit-pointer.patch @@ -0,0 +1,13 @@ +Index: Gtk2-Unique-0.05/xs/UniqueApp.xs +=================================================================== +--- Gtk2-Unique-0.05.orig/xs/UniqueApp.xs ++++ Gtk2-Unique-0.05/xs/UniqueApp.xs +@@ -1,6 +1,8 @@ + #include "unique-perl.h" + #include + ++G_CONST_RETURN gchar * unique_command_to_string (UniqueApp *app, gint command); ++ + static void + perl_unique_app_marshall_message_received ( + GClosure *closure, -- cgit v1.2.3-65-gdbad