wok-4.x rev 4217

flac: fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 10:21:35 2009 +0000 (2009-09-24)
parents cd075316eefa
children 46f54ecdbbda
files flac/receipt flac/stuff/flac-1.2.1_gcc4.u
line diff
     1.1 --- a/flac/receipt	Thu Sep 24 12:10:57 2009 +0200
     1.2 +++ b/flac/receipt	Thu Sep 24 10:21:35 2009 +0000
     1.3 @@ -14,6 +14,8 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# gcc4 fix: http://bugs.gentoo.org/199579
     1.8 +	busybox patch -p0 -i stuff/flac-1.2.1_gcc4.u
     1.9  	cd $src
    1.10  	./configure \
    1.11  		--prefix=/usr \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/flac/stuff/flac-1.2.1_gcc4.u	Thu Sep 24 10:21:35 2009 +0000
     2.3 @@ -0,0 +1,10 @@
     2.4 +--- flac-1.2.1-ori/examples/cpp/encode/file/main.cpp	Thu Sep 13 15:58:03 2007
     2.5 ++++ flac-1.2.1/examples/cpp/encode/file/main.cpp	Thu Sep 24 10:14:38 2009
     2.6 +@@ -30,6 +30,7 @@
     2.7 + 
     2.8 + #include <stdio.h>
     2.9 + #include <stdlib.h>
    2.10 ++#include <cstring> 
    2.11 + #include "FLAC++/metadata.h"
    2.12 + #include "FLAC++/encoder.h"
    2.13 +