summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/flac-fix-memcmp-not-declared.patch
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-01-31 22:18:47 +0100
committerAndreas Enge <andreas@enge.fr>2013-01-31 22:19:56 +0100
commit9ae7865e977411e70e59a328b1b3ee47f7e0fd71 (patch)
treee03d9ad470cd68db48d59300e7f5823e54cf9e85 /gnu/packages/patches/flac-fix-memcmp-not-declared.patch
parentf992ead2845ab1d9ba9d172a86dfa0862d83de47 (diff)
gnu: Add flac.
* gnu/packages/oggvorbis.scm (flac): New variable. * gnu/packages/oggvorbis.scm (vorbis-tools): Add flac input. * gnu/packages/patches/flac-fix-memcmp-not-declared.patch: New file.
Diffstat (limited to 'gnu/packages/patches/flac-fix-memcmp-not-declared.patch')
-rw-r--r--gnu/packages/patches/flac-fix-memcmp-not-declared.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/flac-fix-memcmp-not-declared.patch b/gnu/packages/patches/flac-fix-memcmp-not-declared.patch
new file mode 100644
index 0000000000..9dd5c81ba5
--- /dev/null
+++ b/gnu/packages/patches/flac-fix-memcmp-not-declared.patch
@@ -0,0 +1,13 @@
+See http://sourceforge.net/p/flac/bugs/364/
+
+diff -Naur flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1-ae/examples/cpp/encode/file/main.cpp
+--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp 2012-12-27 20:15:11.000000000 +0100
++++ flac-1.2.1-ae/examples/cpp/encode/file/main.cpp 2012-12-27 20:25:01.000000000 +0100
+@@ -30,6 +30,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
+