aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/flac/files/patch-configure.in22
-rw-r--r--audio/flac/files/patch-src_flac_Makefile.am12
-rw-r--r--audio/flac/files/patch-src_test__streams_Makefile.am13
-rw-r--r--audio/flac/files/patch-src_test__unit_Makefile.am15
4 files changed, 62 insertions, 0 deletions
diff --git a/audio/flac/files/patch-configure.in b/audio/flac/files/patch-configure.in
new file mode 100644
index 000000000000..b54cb0823ab6
--- /dev/null
+++ b/audio/flac/files/patch-configure.in
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- configure.in.orig Sun Jul 22 19:43:15 2001
++++ configure.in Tue Aug 28 17:00:19 2001
+@@ -136,13 +136,13 @@
+ AC_SUBST(FLaC__USIZE64)
+
+ SAVE_CFLAGS="$CFLAGS"
+-CFLAGS='-I$(top_builddir) -I$(srcdir)/include -I $(top_srcdir)/include -Wall -W'
++CFLAGS='-I$(top_builddir) -I$(srcdir)/include -I $(top_srcdir)/include'
+ if test x$debug = xtrue; then
+ CFLAGS="$CFLAGS -g -O0 -DDEBUG"
+ else
+- CFLAGS="$CFLAGS -O3 -DNDEBUG"
++ CFLAGS="$CFLAGS -DNDEBUG"
+ if test x$GCC = xyes; then
+- CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLaC__INLINE=__inline__"
++ CFLAGS="$CFLAGS -DFLaC__INLINE=__inline__"
+ fi
+ fi
+ CFLAGS="$CFLAGS $SAVE_CFLAGS"
diff --git a/audio/flac/files/patch-src_flac_Makefile.am b/audio/flac/files/patch-src_flac_Makefile.am
new file mode 100644
index 000000000000..aa0421b37ab4
--- /dev/null
+++ b/audio/flac/files/patch-src_flac_Makefile.am
@@ -0,0 +1,12 @@
+
+$FreeBSD$
+
+--- src/flac/Makefile.am.orig Tue Aug 28 15:58:11 2001
++++ src/flac/Makefile.am Tue Aug 28 15:58:19 2001
+@@ -29,5 +29,4 @@
+ encode.h \
+ file.h
+
+-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_test__streams_Makefile.am b/audio/flac/files/patch-src_test__streams_Makefile.am
new file mode 100644
index 000000000000..7dafe82dfdb6
--- /dev/null
+++ b/audio/flac/files/patch-src_test__streams_Makefile.am
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/test_streams/Makefile.am.orig Tue Aug 28 16:00:17 2001
++++ src/test_streams/Makefile.am Tue Aug 28 16:00:28 2001
+@@ -20,6 +20,6 @@
+ noinst_PROGRAMS = test_streams
+ test_streams_SOURCES = \
+ main.c
+-test_streams_LDFLAGS = -lm
++test_streams_LDADD = -lm
+
+ CLEANFILES = $(wildcard *.raw)
diff --git a/audio/flac/files/patch-src_test__unit_Makefile.am b/audio/flac/files/patch-src_test__unit_Makefile.am
new file mode 100644
index 000000000000..766831e6efc7
--- /dev/null
+++ b/audio/flac/files/patch-src_test__unit_Makefile.am
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- src/test_unit/Makefile.am.orig Tue Aug 28 16:21:54 2001
++++ src/test_unit/Makefile.am Tue Aug 28 16:22:05 2001
+@@ -19,8 +19,7 @@
+ INCLUDES = -I$(top_srcdir)/src/libFLAC/include
+
+ noinst_PROGRAMS = test_unit
+-test_unit_LDFLAGS = -lm
+-test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
++test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
+ test_unit_SOURCES = \
+ bitbuffer.c \
+ main.c \