summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-05-03 11:22:03 +0000
committerCédric Krier <cedk@gentoo.org>2008-05-03 11:22:03 +0000
commit4ae8ce42dd57d9905c0f688a742a62ab46df7f1a (patch)
tree5503f7b9deb44c775942251f577b8084f4a9e8a1 /media-sound/chuck
parentold (diff)
downloadhistorical-4ae8ce42dd57d9905c0f688a742a62ab46df7f1a.tar.gz
historical-4ae8ce42dd57d9905c0f688a742a62ab46df7f1a.tar.bz2
historical-4ae8ce42dd57d9905c0f688a742a62ab46df7f1a.zip
Add patch for gcc-4.3, bug #219809
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-sound/chuck')
-rw-r--r--media-sound/chuck/ChangeLog6
-rw-r--r--media-sound/chuck/chuck-1.2.1.1.ebuild5
-rw-r--r--media-sound/chuck/files/chuck-1.2.1.1-gcc43.patch45
3 files changed, 53 insertions, 3 deletions
diff --git a/media-sound/chuck/ChangeLog b/media-sound/chuck/ChangeLog
index bee77a37111d..bf5808577300 100644
--- a/media-sound/chuck/ChangeLog
+++ b/media-sound/chuck/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/chuck
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v 1.6 2008/03/29 22:35:11 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v 1.7 2008/05/03 11:22:02 cedk Exp $
+
+ 03 May 2008; Cédric Krier <cedk@gentoo.org>
+ +files/chuck-1.2.1.1-gcc43.patch, chuck-1.2.1.1.ebuild:
+ Add patch for gcc-4.3, bug #219809
*chuck-1.2.1.1 (29 Mar 2008)
diff --git a/media-sound/chuck/chuck-1.2.1.1.ebuild b/media-sound/chuck/chuck-1.2.1.1.ebuild
index e98759c9e5a4..3153af16ee54 100644
--- a/media-sound/chuck/chuck-1.2.1.1.ebuild
+++ b/media-sound/chuck/chuck-1.2.1.1.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/chuck/chuck-1.2.1.1.ebuild,v 1.1 2008/03/29 22:35:11 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/chuck-1.2.1.1.ebuild,v 1.2 2008/05/03 11:22:02 cedk Exp $
inherit toolchain-funcs flag-o-matic eutils
@@ -37,7 +37,8 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "$FILESDIR/${P}-hid-smc.patch"
+ epatch "${FILESDIR}/${P}-hid-smc.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
}
src_compile() {
diff --git a/media-sound/chuck/files/chuck-1.2.1.1-gcc43.patch b/media-sound/chuck/files/chuck-1.2.1.1-gcc43.patch
new file mode 100644
index 000000000000..ffccd7ca39d5
--- /dev/null
+++ b/media-sound/chuck/files/chuck-1.2.1.1-gcc43.patch
@@ -0,0 +1,45 @@
+diff -ru chuck-1.2.1.1~/src/chuck_vm.h chuck-1.2.1.1/src/chuck_vm.h
+--- chuck-1.2.1.1~/src/chuck_vm.h 2008-05-03 13:14:46.000000000 +0200
++++ chuck-1.2.1.1/src/chuck_vm.h 2008-05-03 13:15:22.000000000 +0200
+@@ -41,6 +41,7 @@
+ #include "chuck_stats.h"
+ #endif
+
++#include <algorithm>
+ #include <string>
+ #include <map>
+ #include <vector>
+diff -ru chuck-1.2.1.1~/src/rtaudio.cpp chuck-1.2.1.1/src/rtaudio.cpp
+--- chuck-1.2.1.1~/src/rtaudio.cpp 2008-05-03 13:14:46.000000000 +0200
++++ chuck-1.2.1.1/src/rtaudio.cpp 2008-05-03 13:15:22.000000000 +0200
+@@ -50,6 +50,7 @@
+ #include "chuck_errmsg.h"
+ #include "digiio_rtaudio.h"
+ #include <stdio.h>
++#include <climits>
+ // old
+ // #include "RtAudio.h"
+ // #include <iostream>
+diff -ru chuck-1.2.1.1~/src/ugen_stk.cpp chuck-1.2.1.1/src/ugen_stk.cpp
+--- chuck-1.2.1.1~/src/ugen_stk.cpp 2008-05-03 13:14:46.000000000 +0200
++++ chuck-1.2.1.1/src/ugen_stk.cpp 2008-05-03 13:15:22.000000000 +0200
+@@ -41,7 +41,7 @@
+ #include <string.h>
+ #include <time.h>
+ #include <float.h>
+-
++#include <climits>
+
+
+
+diff -ru chuck-1.2.1.1~/src/util_hid.cpp chuck-1.2.1.1/src/util_hid.cpp
+--- chuck-1.2.1.1~/src/util_hid.cpp 2008-05-03 13:14:46.000000000 +0200
++++ chuck-1.2.1.1/src/util_hid.cpp 2008-05-03 13:15:22.000000000 +0200
+@@ -37,6 +37,7 @@
+
+ #include <vector>
+ #include <map>
++#include <climits>
+
+ using namespace std;
+