summaryrefslogtreecommitdiff
path: root/package/flac/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/flac/patches
Initial import
Diffstat (limited to 'package/flac/patches')
-rw-r--r--package/flac/patches/patch-configure12
-rw-r--r--package/flac/patches/patch-src_libFLAC_Makefile_in12
-rw-r--r--package/flac/patches/patch-src_libFLAC_lpc_c13
3 files changed, 37 insertions, 0 deletions
diff --git a/package/flac/patches/patch-configure b/package/flac/patches/patch-configure
new file mode 100644
index 000000000..830c77407
--- /dev/null
+++ b/package/flac/patches/patch-configure
@@ -0,0 +1,12 @@
+$Id$
+--- flac-1.2.1.orig/configure 2007-09-16 22:05:33.000000000 +0200
++++ flac-1.2.1/configure 2008-08-21 14:57:46.000000000 +0200
+@@ -23490,7 +23490,7 @@ else
+ CPPFLAGS="-DNDEBUG $CPPFLAGS"
+ if test "x$GCC" = xyes; then
+ CPPFLAGS="-DFLaC__INLINE=__inline__ $CPPFLAGS"
+- CFLAGS="-O3 -funroll-loops -finline-functions -Wall -W -Winline $CFLAGS"
++ CFLAGS="-finline-functions -Wall -W -Winline $CFLAGS"
+ fi
+ fi
+
diff --git a/package/flac/patches/patch-src_libFLAC_Makefile_in b/package/flac/patches/patch-src_libFLAC_Makefile_in
new file mode 100644
index 000000000..83c1eeacc
--- /dev/null
+++ b/package/flac/patches/patch-src_libFLAC_Makefile_in
@@ -0,0 +1,12 @@
+$Id$
+--- flac-1.2.1.orig/src/libFLAC/Makefile.in 2007-09-16 22:05:12.000000000 +0200
++++ flac-1.2.1/src/libFLAC/Makefile.in 2008-08-21 14:54:37.000000000 +0200
+@@ -295,8 +295,6 @@ libFLAC_la_SOURCES = \
+ metadata_iterators.c \
+ metadata_object.c \
+ stream_decoder.c \
+- stream_encoder.c \
+- stream_encoder_framing.c \
+ window.c \
+ $(extra_ogg_sources)
+
diff --git a/package/flac/patches/patch-src_libFLAC_lpc_c b/package/flac/patches/patch-src_libFLAC_lpc_c
new file mode 100644
index 000000000..3bacabaa3
--- /dev/null
+++ b/package/flac/patches/patch-src_libFLAC_lpc_c
@@ -0,0 +1,13 @@
+$Id$
+--- flac-1.2.1.orig/src/libFLAC/lpc.c 2007-09-04 20:15:03.000000000 +0200
++++ flac-1.2.1/src/libFLAC/lpc.c 2008-08-20 15:45:13.000000000 +0200
+@@ -38,9 +38,7 @@
+ #include "FLAC/format.h"
+ #include "private/bitmath.h"
+ #include "private/lpc.h"
+-#if defined DEBUG || defined FLAC__OVERFLOW_DETECT || defined FLAC__OVERFLOW_DETECT_VERBOSE
+ #include <stdio.h>
+-#endif
+
+ #ifndef FLAC__INTEGER_ONLY_LIBRARY
+