summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-04-19 13:00:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-04-19 13:00:58 +0000
commit1f02526e26fee7419345195e69fa8f181df4295c (patch)
treecff5491acb0d405e1cf459f3ca2fbef32cd24341 /media-sound/gtkguitune
parentversion bump, bug #218246 (diff)
downloadhistorical-1f02526e26fee7419345195e69fa8f181df4295c.tar.gz
historical-1f02526e26fee7419345195e69fa8f181df4295c.tar.bz2
historical-1f02526e26fee7419345195e69fa8f181df4295c.zip
Fix building with GCC 4.3, thanks to Peter Alfredsen.
Package-Manager: portage-2.1.5_rc4
Diffstat (limited to 'media-sound/gtkguitune')
-rw-r--r--media-sound/gtkguitune/ChangeLog6
-rw-r--r--media-sound/gtkguitune/Manifest5
-rw-r--r--media-sound/gtkguitune/files/gtkguitune-0.7-gcc43.patch12
-rw-r--r--media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild10
4 files changed, 28 insertions, 5 deletions
diff --git a/media-sound/gtkguitune/ChangeLog b/media-sound/gtkguitune/ChangeLog
index fd5638243fea..0820aee79b18 100644
--- a/media-sound/gtkguitune/ChangeLog
+++ b/media-sound/gtkguitune/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/gtkguitune
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gtkguitune/ChangeLog,v 1.15 2008/02/29 20:08:44 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gtkguitune/ChangeLog,v 1.16 2008/04/19 13:00:57 drac Exp $
+
+ 19 Apr 2008; Samuli Suominen <drac@gentoo.org>
+ +files/gtkguitune-0.7-gcc43.patch, gtkguitune-0.7-r1.ebuild:
+ Fix building with GCC 4.3, thanks to Peter Alfredsen.
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> gtkguitune-0.7-r1.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/media-sound/gtkguitune/Manifest b/media-sound/gtkguitune/Manifest
index 85352c3b42c5..6c14d6e85ec4 100644
--- a/media-sound/gtkguitune/Manifest
+++ b/media-sound/gtkguitune/Manifest
@@ -1,4 +1,5 @@
+AUX gtkguitune-0.7-gcc43.patch 287 RMD160 edbfe11b2859c1d4e0ffeb943164a1ed8ed1453a SHA1 d40e9142cf794f0e81741c8b3e877dab21a29c09 SHA256 22fa09c167c32fee5183092a7eb880f5aa38a2d33a59ee59d30a71201ee54d81
DIST gtkguitune-0.7.tar.gz 54992 RMD160 a7d4e0d5b4d88745d0d7b2bdcc04cd81beb6c2fe SHA1 41e23cdc0799b7078b7c87f2b60129ee301fc8f7 SHA256 a2816ab63d85c86d2e352ec2c2d3b4cb6d607f7593798533da0993bfb2db5bf3
-EBUILD gtkguitune-0.7-r1.ebuild 768 RMD160 1854c996a9e03101dfa5033e0019e3e0e1066f82 SHA1 ca35ba9e971bff85b573c6328bc831a23dc839e1 SHA256 75b2cacddac052a6a5005e567f50893234e9b8a71a5d2975a22cf578c1872d50
-MISC ChangeLog 1833 RMD160 5e8f9c9221335203315dd77e3116a2d9e2cdcde8 SHA1 37fbb4899bd909bc870267fe9b53e4c1c9298f8a SHA256 10ed7740951ff78ae3b9c37c678fd8f9f227b55dc660aca257c88c7a0301bc7b
+EBUILD gtkguitune-0.7-r1.ebuild 848 RMD160 9c3e1578c3a295bde62e777f607e7ccba4a2b202 SHA1 951412f8adbaf76f3d860198ce7b2b72b327cd53 SHA256 bc05e565680f76d5f3b4ba6dafb55be16c0e7433ce228d11ec8971e1c1e80fef
+MISC ChangeLog 2001 RMD160 4ad3ecd5d47e7122e4fc26a380b40cf0f66190ce SHA1 cbaa5fe55a32529789fc3426d8a32cb906b0830f SHA256 f0b50f8dd0a0f5c173632093fd8a4892d6a85b3017c46fc39bf6c571c7cd9421
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-sound/gtkguitune/files/gtkguitune-0.7-gcc43.patch b/media-sound/gtkguitune/files/gtkguitune-0.7-gcc43.patch
new file mode 100644
index 000000000000..85f1886bdef0
--- /dev/null
+++ b/media-sound/gtkguitune/files/gtkguitune-0.7-gcc43.patch
@@ -0,0 +1,12 @@
+diff -u gtkguitune-0.7/main.cc gtkguitune-0.7/main.cc
+--- gtkguitune-0.7/main.cc
++++ gtkguitune-0.7/main.cc
+@@ -19,6 +19,7 @@
+ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ //
+ //
++#include <cstdlib>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+
diff --git a/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild b/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild
index aa58ee28f775..93dfada7e2a2 100644
--- a/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild
+++ b/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild,v 1.3 2008/02/29 20:08:44 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gtkguitune/gtkguitune-0.7-r1.ebuild,v 1.4 2008/04/19 13:00:57 drac Exp $
inherit eutils
@@ -10,13 +10,19 @@ SRC_URI="http://www.geocities.com/harpin_floh/mysoft/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc sparc amd64"
+KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
RDEPEND="=x11-libs/gtk+-1.2*
=dev-cpp/gtkmm-1.2*"
DEPEND="${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc README AUTHORS