summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-07 08:57:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-07 08:57:32 +0000
commit01191513b9f06d96d34838e62fcd3df57454ea45 (patch)
tree5feecff4c23a9a5ff05de5d494afc0febb29664e /media-sound/hydrogen
parentRaise taglib-sharp depend to 2.0.3.2 wrt #273004, thanks to Christopher Friedt. (diff)
downloadgentoo-2-01191513b9f06d96d34838e62fcd3df57454ea45.tar.gz
gentoo-2-01191513b9f06d96d34838e62fcd3df57454ea45.tar.bz2
gentoo-2-01191513b9f06d96d34838e62fcd3df57454ea45.zip
Fix compile with GCC 4.4 wrt #271890, thanks to Mike Limansky.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/ChangeLog8
-rw-r--r--media-sound/hydrogen/files/hydrogen-0.9.3-gcc44.patch20
-rw-r--r--media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild3
3 files changed, 28 insertions, 3 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index 81002a46168c..d5998dcea801 100644
--- a/media-sound/hydrogen/ChangeLog
+++ b/media-sound/hydrogen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/hydrogen
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.72 2009/02/27 09:01:51 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.73 2009/06/07 08:57:32 ssuominen Exp $
+
+ 07 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ hydrogen-0.9.3-r4.ebuild, +files/hydrogen-0.9.3-gcc44.patch:
+ Fix compile with GCC 4.4 wrt #271890, thanks to Mike Limansky.
27 Feb 2009; Alexis Ballier <aballier@gentoo.org>
hydrogen-0.9.3-r4.ebuild:
diff --git a/media-sound/hydrogen/files/hydrogen-0.9.3-gcc44.patch b/media-sound/hydrogen/files/hydrogen-0.9.3-gcc44.patch
new file mode 100644
index 000000000000..ee6bfd16bb4a
--- /dev/null
+++ b/media-sound/hydrogen/files/hydrogen-0.9.3-gcc44.patch
@@ -0,0 +1,20 @@
+--- hydrogen-0.9.3.orig/src/lib/drivers/JackDriver.cpp 2005-10-18 02:32:04.000000000 +0400
++++ hydrogen-0.9.3/src/lib/drivers/JackDriver.cpp 2009-05-30 21:03:56.000000000 +0400
+@@ -27,6 +27,7 @@
+
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <cstdio>
+ #include "lib/Hydrogen.h"
+ #include "lib/Preferences.h"
+
+--- hydrogen-0.9.3.orig/src/lib/Object.cpp 2005-10-18 02:32:04.000000000 +0400
++++ hydrogen-0.9.3/src/lib/Object.cpp 2009-05-30 21:03:56.000000000 +0400
+@@ -25,6 +25,7 @@
+ #include "Object.h"
+ #include "config.h"
+
++#include <cstdio>
+ #include <pthread.h>
+
+ #ifdef WIN32
diff --git a/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild b/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild
index 9d293a0dc0cd..7ae79441b4e7 100644
--- a/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild
+++ b/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild,v 1.2 2009/02/27 09:01:51 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.3-r4.ebuild,v 1.3 2009/06/07 08:57:32 ssuominen Exp $
EAPI=2
@@ -50,6 +50,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-desktop-noexec.patch"
epatch "${FILESDIR}/${P}-gcc43.patch"
epatch "${FILESDIR}/${P}-gcc43noalsa.patch"
+ epatch "${FILESDIR}/${P}-gcc44.patch"
eautoreconf
}