~ruther/guix-local

ref: bad312e37dfe59cdc39a8e56f939cba5d24c4c2d guix-local/gnu/packages/patches/flac-fix-memcmp-not-declared.patch -rw-r--r-- 475 bytes
bad312e3 — Andreas Enge gnu: libvorbis: Propagate input libogg. 12 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
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"