diff options
Diffstat (limited to 'meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch')
-rw-r--r-- | meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch b/meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch new file mode 100644 index 0000000000..fdb6f1337e --- /dev/null +++ b/meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | # Acquired from OpenEmbedded | ||
2 | # Fix no declaration of memcmp() | ||
3 | |||
4 | diff -urN flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp | ||
5 | --- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp 2010-06-23 15:06:29.159481339 +0800 | ||
6 | +++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2010-06-23 15:06:46.233384883 +0800 | ||
7 | @@ -30,6 +30,7 @@ | ||
8 | |||
9 | #include <stdio.h> | ||
10 | #include <stdlib.h> | ||
11 | +#include <string.h> | ||
12 | #include "FLAC++/metadata.h" | ||
13 | #include "FLAC++/encoder.h" | ||
14 | |||