summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-01 18:35:47 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-01 18:35:47 +0000
commit61c1ebd27baf0e09dbcaddd5c142ca601126a58d (patch)
tree27ac25dcd894886ca3ec73b559c501678eaaedce /media-sound/chuck/files
parentFix bug #272083 (diff)
downloadgentoo-2-61c1ebd27baf0e09dbcaddd5c142ca601126a58d.tar.gz
gentoo-2-61c1ebd27baf0e09dbcaddd5c142ca601126a58d.tar.bz2
gentoo-2-61c1ebd27baf0e09dbcaddd5c142ca601126a58d.zip
Fix compile with GCC 4.4 and keyword ~amd64.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/chuck/files')
-rw-r--r--media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch b/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch
new file mode 100644
index 000000000000..8059c97592f7
--- /dev/null
+++ b/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch
@@ -0,0 +1,12 @@
+diff -ur chuck-1.2.1.2.orig/src/util_string.h chuck-1.2.1.2/src/util_string.h
+--- chuck-1.2.1.2.orig/src/util_string.h 2008-07-16 12:55:17.000000000 +0300
++++ chuck-1.2.1.2/src/util_string.h 2009-06-01 21:33:59.000000000 +0300
+@@ -33,6 +33,8 @@
+ #ifndef __UTIL_STRING_H__
+ #define __UTIL_STRING_H__
+
++#include <cstdio>
++
+ #include "chuck_def.h"
+ #include <string>
+ #include <vector>