summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch')
-rw-r--r--media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch b/media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch
new file mode 100644
index 0000000..0507c95
--- /dev/null
+++ b/media-plugins/xmms-flac/files/xmms-flac-ds-gcc4.patch
@@ -0,0 +1,11 @@
+diff -dPNur 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 17:58:03.000000000 +0200
++++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2011-02-08 17:30:56.000000000 +0100
+@@ -30,6 +30,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
+