summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-09 11:28:33 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-09 11:28:33 +0000
commit48742bebe7104f322aa5edf8e521d03c4bd716f3 (patch)
tree3feb1f7fa3620901fe0ddc48bd6467c15bc710a8 /media-sound/kguitar
parentVersion bump. Also switched virtual/tetex -> virtual/latex-base (see bug #222... (diff)
downloadgentoo-2-48742bebe7104f322aa5edf8e521d03c4bd716f3.tar.gz
gentoo-2-48742bebe7104f322aa5edf8e521d03c4bd716f3.tar.bz2
gentoo-2-48742bebe7104f322aa5edf8e521d03c4bd716f3.zip
Add patch to build with GCC 4.3. Thanks to Marek Miller in bug #225349.
(Portage version: 2.1.5.4)
Diffstat (limited to 'media-sound/kguitar')
-rw-r--r--media-sound/kguitar/ChangeLog6
-rw-r--r--media-sound/kguitar/files/kguitar-0.5+gcc-4.3.patch20
-rw-r--r--media-sound/kguitar/kguitar-0.5.ebuild8
3 files changed, 31 insertions, 3 deletions
diff --git a/media-sound/kguitar/ChangeLog b/media-sound/kguitar/ChangeLog
index bc303cd8fe71..e21cb5182f78 100644
--- a/media-sound/kguitar/ChangeLog
+++ b/media-sound/kguitar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/kguitar
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kguitar/ChangeLog,v 1.6 2008/03/12 09:43:37 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kguitar/ChangeLog,v 1.7 2008/06/09 11:28:33 flameeyes Exp $
+
+ 09 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/kguitar-0.5+gcc-4.3.patch, kguitar-0.5.ebuild:
+ Add patch to build with GCC 4.3. Thanks to Marek Miller in bug #225349.
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Eldad Zack (eldad, #53978) from metadata.xml.
diff --git a/media-sound/kguitar/files/kguitar-0.5+gcc-4.3.patch b/media-sound/kguitar/files/kguitar-0.5+gcc-4.3.patch
new file mode 100644
index 000000000000..b8f847c06d3c
--- /dev/null
+++ b/media-sound/kguitar/files/kguitar-0.5+gcc-4.3.patch
@@ -0,0 +1,20 @@
+--- kguitar/convertgp3.h.orig 2008-06-08 14:51:30.000000000 +0200
++++ kguitar/convertgp3.h 2008-06-08 14:52:01.000000000 +0200
+@@ -1,6 +1,7 @@
+ #ifndef CONVERTGP3_H
+ #define CONVERTGP3_H
+
++#include <cstdlib>
+ #include "global.h"
+ #include "convertbase.h"
+
+--- kguitar/convertgtp.h.orig 2008-06-08 14:59:45.000000000 +0200
++++ kguitar/convertgtp.h 2008-06-08 15:00:01.000000000 +0200
+@@ -1,6 +1,7 @@
+ #ifndef CONVERTGTP_H
+ #define CONVERTGTP_H
+
++#include <cstdlib>
+ #include "global.h"
+ #include "convertbase.h"
+
diff --git a/media-sound/kguitar/kguitar-0.5.ebuild b/media-sound/kguitar/kguitar-0.5.ebuild
index d390d728ac53..bff14784433a 100644
--- a/media-sound/kguitar/kguitar-0.5.ebuild
+++ b/media-sound/kguitar/kguitar-0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kguitar/kguitar-0.5.ebuild,v 1.5 2006/10/21 14:01:42 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kguitar/kguitar-0.5.ebuild,v 1.6 2008/06/09 11:28:33 flameeyes Exp $
inherit kde
@@ -18,6 +18,10 @@ IUSE=""
DEPEND=">=media-libs/tse3-0.2.3"
need-kde 3
+PATCHES=(
+ "${FILESDIR}"/${P}+gcc-4.3.patch
+)
+
src_compile() {
myconf="--with-tse3"
kde_src_compile