summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 19:31:35 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 19:31:35 +0000
commit939dd57a463e002f481d9264b3a60fb116547e1a (patch)
treeab69dbbdd059fece78c7df34af476ce5db5f6ea5 /media-libs/flac/files
parentppc stable (bug #199571) (diff)
downloadgentoo-2-939dd57a463e002f481d9264b3a60fb116547e1a.tar.gz
gentoo-2-939dd57a463e002f481d9264b3a60fb116547e1a.tar.bz2
gentoo-2-939dd57a463e002f481d9264b3a60fb116547e1a.zip
fix building with gcc 4.3, thanks to Ryan Hill <dirtyepic@gentoo.org>, bug #199579
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs/flac/files')
-rw-r--r--media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch b/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch
new file mode 100644
index 000000000000..52fec8be5706
--- /dev/null
+++ b/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch
@@ -0,0 +1,11 @@
+diff -Naur flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
+--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp 2007-09-13 09:58:03.000000000 -0600
++++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2007-11-18 12:59:45.000000000 -0600
+@@ -30,6 +30,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
+