diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-06-08 10:06:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-06-08 10:06:30 +0800 |
commit | ffa1bb0639324ea4b858ab7eafbe1e1e5545b504 (patch) | |
tree | 706167c324f8b6f0d7cdd2eeb2e4cf1168476c33 /audio/flac/files | |
parent | d521535740141977e46d6515ef11c5c0ff0a059c (diff) | |
download | freebsd-ports-gnome-ffa1bb0639324ea4b858ab7eafbe1e1e5545b504.tar.gz freebsd-ports-gnome-ffa1bb0639324ea4b858ab7eafbe1e1e5545b504.tar.zst freebsd-ports-gnome-ffa1bb0639324ea4b858ab7eafbe1e1e5545b504.zip |
upgrade to 0.10
pass maintainership to Christian Weisgerber <naddy@mips.inka.de>
Submitted by: Christian Weisgerber <naddy@mips.inka.de> (new maintainer)
Diffstat (limited to 'audio/flac/files')
-rw-r--r-- | audio/flac/files/patch-configure.in | 24 | ||||
-rw-r--r-- | audio/flac/files/patch-src::flac::Makefile.am | 10 | ||||
-rw-r--r-- | audio/flac/files/patch-src::flac::file.c | 11 | ||||
-rw-r--r-- | audio/flac/files/patch-src::libFLAC::fixed.c | 37 |
4 files changed, 25 insertions, 57 deletions
diff --git a/audio/flac/files/patch-configure.in b/audio/flac/files/patch-configure.in index 5b4870dad10f..6526e34547a0 100644 --- a/audio/flac/files/patch-configure.in +++ b/audio/flac/files/patch-configure.in @@ -1,17 +1,21 @@ ---- configure.in.orig Tue Apr 3 13:07:35 2001 -+++ configure.in Tue Apr 3 13:09:06 2001 -@@ -22,11 +22,11 @@ - AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built])) - AM_CONDITIONAL(XMMS, test x$XMMS_INPUT_PLUGIN_DIR != x) +$FreeBSD$ +--- configure.in.orig Thu Jun 7 21:27:38 2001 ++++ configure.in Thu Jun 7 21:28:13 2001 +@@ -51,14 +51,11 @@ + AC_DEFINE(FLAC__HAS_NASM) + fi -CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W' -+CFLAGS="$CFLAGS -I./include -I \$(top_srcdir)/include" ++CFLAGS="-I./include -I \$(top_srcdir)/include" if test x$debug = xtrue; then -- CFLAGS="$CFLAGS -g -O0 -DDEBUG" -+ CFLAGS="$CFLAGS -g -DDEBUG" +- CFLAGS="$CFLAGS -g -O0 -DDEBUG" ++ CFLAGS="$CFLAGS -g -DDEBUG" else -- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG" -+ CFLAGS="$CFLAGS -DNDEBUG" +- CFLAGS="$CFLAGS -O3 -DNDEBUG" +- if test x$GCC = xyes; then +- CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions" +- fi ++ CFLAGS="$CFLAGS -DNDEBUG" fi AC_OUTPUT( Makefile \ diff --git a/audio/flac/files/patch-src::flac::Makefile.am b/audio/flac/files/patch-src::flac::Makefile.am deleted file mode 100644 index 96a1a056e31f..000000000000 --- a/audio/flac/files/patch-src::flac::Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -$FreeBSD$ ---- src/flac/Makefile.am.orig Mon Mar 26 04:28:03 2001 -+++ src/flac/Makefile.am Mon Mar 26 04:28:10 2001 -@@ -5,5 +5,4 @@ flac_SOURCES = \ - decode.c \ - encode.c \ - main.c --flac_LDFLAGS = -lm --flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -+flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm diff --git a/audio/flac/files/patch-src::flac::file.c b/audio/flac/files/patch-src::flac::file.c new file mode 100644 index 000000000000..dbf8356f140d --- /dev/null +++ b/audio/flac/files/patch-src::flac::file.c @@ -0,0 +1,11 @@ +$FreeBSD$ +--- src/flac/file.c.orig Thu Jun 7 21:50:01 2001 ++++ src/flac/file.c Thu Jun 7 21:50:20 2001 +@@ -20,6 +20,7 @@ + #include <sys/utime.h> /* for utime() */ + #include <io.h> /* for chmod() */ + #else ++#include <sys/types.h> + #include <utime.h> /* for utime() */ + #include <unistd.h> /* for chown() */ + #endif diff --git a/audio/flac/files/patch-src::libFLAC::fixed.c b/audio/flac/files/patch-src::libFLAC::fixed.c deleted file mode 100644 index 4b8a20cd93ee..000000000000 --- a/audio/flac/files/patch-src::libFLAC::fixed.c +++ /dev/null @@ -1,37 +0,0 @@ ---- src/libFLAC/fixed.c.orig Sun Apr 1 07:35:25 2001 -+++ src/libFLAC/fixed.c Sun May 20 13:37:20 2001 -@@ -81,11 +81,11 @@ unsigned FLAC__fixed_compute_best_predic - residual_bits_per_sample[3] = (real)((data_len > 0) ? log(M_LN2 * (real)(int64)total_error_3 / (real) data_len) / M_LN2 : 0.0); - residual_bits_per_sample[4] = (real)((data_len > 0) ? log(M_LN2 * (real)(int64)total_error_4 / (real) data_len) / M_LN2 : 0.0); - #else -- residual_bits_per_sample[0] = (real)((data_len > 0) ? log(M_LN2 * (real)total_error_0 / (real) data_len) / M_LN2 : 0.0); -- residual_bits_per_sample[1] = (real)((data_len > 0) ? log(M_LN2 * (real)total_error_1 / (real) data_len) / M_LN2 : 0.0); -- residual_bits_per_sample[2] = (real)((data_len > 0) ? log(M_LN2 * (real)total_error_2 / (real) data_len) / M_LN2 : 0.0); -- residual_bits_per_sample[3] = (real)((data_len > 0) ? log(M_LN2 * (real)total_error_3 / (real) data_len) / M_LN2 : 0.0); -- residual_bits_per_sample[4] = (real)((data_len > 0) ? log(M_LN2 * (real)total_error_4 / (real) data_len) / M_LN2 : 0.0); -+ residual_bits_per_sample[0] = (real)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (real)total_error_0 / (real) data_len) / M_LN2 : 0.0); -+ residual_bits_per_sample[1] = (real)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (real)total_error_1 / (real) data_len) / M_LN2 : 0.0); -+ residual_bits_per_sample[2] = (real)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (real)total_error_2 / (real) data_len) / M_LN2 : 0.0); -+ residual_bits_per_sample[3] = (real)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (real)total_error_3 / (real) data_len) / M_LN2 : 0.0); -+ residual_bits_per_sample[4] = (real)((data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (real)total_error_4 / (real) data_len) / M_LN2 : 0.0); - #endif - - return order; -@@ -152,7 +152,7 @@ unsigned FLAC__fixed_compute_best_predic - - void FLAC__fixed_compute_residual(const int32 data[], unsigned data_len, unsigned order, int32 residual[]) - { -- unsigned i; -+ int i; - - switch(order) { - case 0: -@@ -190,7 +190,7 @@ void FLAC__fixed_compute_residual(const - - void FLAC__fixed_restore_signal(const int32 residual[], unsigned data_len, unsigned order, int32 data[]) - { -- unsigned i; -+ int i; - - switch(order) { - case 0: |