mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Patch to allow flac to build on gcc4
This commit is contained in:
@@ -8,7 +8,7 @@ DEPEND="gettext >= 0.17"
|
||||
BUILD {
|
||||
cd flac-1.2.1
|
||||
libtoolize --force --copy --install
|
||||
./autogen.sh --prefix=/boot/common
|
||||
./autogen.sh --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
11
media-libs/flac/patches/flac-1.2.1.patch
Normal file
11
media-libs/flac/patches/flac-1.2.1.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -urN flac-1.2.1/examples/cpp/encode/file/main.cpp flac-1.2.1-haiku/examples/cpp/encode/file/main.cpp
|
||||
--- flac-1.2.1/examples/cpp/encode/file/main.cpp 2007-09-13 15:58:03.004718592 +0000
|
||||
+++ flac-1.2.1-haiku/examples/cpp/encode/file/main.cpp 2010-09-20 12:47:33.520617984 +0000
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include "FLAC++/metadata.h"
|
||||
#include "FLAC++/encoder.h"
|
||||
|
||||
Reference in New Issue
Block a user