Commit Graph

2984 Commits

Author SHA1 Message Date
Erik de Castro Lopo
21a4f653e1 .gitignore : Ignore more m4 files. 2012-02-25 10:25:54 +11:00
Erik de Castro Lopo
3789c44e14 Remove '#if 0'-ed out code. 2012-02-17 18:00:10 +11:00
Erik de Castro Lopo
587e118bfc Fix a bunch of -Wtype-limits warnings. 2012-02-17 17:52:12 +11:00
Erik de Castro Lopo
a4ffcc0239 Fix -Werror=format-security errors.
Fixes "format not a string literal and no format arguments
 [-Werror=format-security]" errors.

Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
Closes Debian bug #643377.
2012-02-13 19:58:08 +11:00
Erik de Castro Lopo
e38026a52c Fix for autoreconf failures.
Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause
autoreconf to fail.

From Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
2012-02-13 19:55:46 +11:00
Erik de Castro Lopo
b6e64af3b3 Disable Altivec on host triplet powerpc-unknown-linux-gnuspe.
SPE is incompatible with AltiVec because it shares the same opcode range.

Patch from Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
2012-02-13 19:46:32 +11:00
Erik de Castro Lopo
c08b67923c libFLAC.m4 : Prevent empty -L flag.
Fix libFLAC.m4 may set empty -L flag when configure is called without
arguments, provided of course that the target package's configure script
is properly re-generated against the fixed libFLAC.m4

Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
2012-02-13 19:39:55 +11:00
Erik de Castro Lopo
766a7b4c6b Merge branch 'noname' 2012-02-13 06:22:30 +11:00
Erik de Castro Lopo
34de69aedd Disable executable stack in libFLAC.so.
This allows programs using it to run correctly on SE Linux systems, and
with exec-shield.

Patch from Russell Coker <russell@coker.com.au> via Debian.
2012-02-12 20:49:17 +11:00
Erik de Castro Lopo
71396bb948 Add missing <cstring> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
2012-02-12 20:47:15 +11:00
Erik de Castro Lopo
df80b9b659 Add missing <csting> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
2012-02-12 20:45:53 +11:00
Erik de Castro Lopo
cfac5975c1 metaflac : Exit with error if invalid option is passed.
Fix from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #329979.
2012-02-12 20:39:09 +11:00
Erik de Castro Lopo
e2f80c17b7 Fix misuse of \r (potentially) in flac -d or -t output.
Patch from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #138828.
2012-02-12 20:37:16 +11:00
Erik de Castro Lopo
c506b2f43e include/FLAC/ordinals.h : Remove CPP hackery.
This change assumes that a C99 <stdint.h> header is available. For
compilers where that is not the case, the user should provide a
minimal replacement header.
2012-02-10 19:19:11 +11:00
Erik de Castro Lopo
dac99fa20b Patch from Dave Yeo to remove more CPP hackery.
Dave's comments:
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
been replaced by klibc. Considering the age of EMX and lack of testing
and that klibc contains so many improvements I think this is exceptable.
2012-02-08 21:07:08 +11:00
Erik de Castro Lopo
efffc25c18 Fix 'make distcheck'.
This disables the tests that don't run correctly out-of-tree from
the 'make check' target. Also add a new 'make fullcheck' target
which is the full old test suite.
2012-02-07 18:41:28 +11:00
Erik de Castro Lopo
d7bfc779c8 Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic. 2012-02-06 07:15:48 +11:00
Erik de Castro Lopo
3abb6c98e9 Add m4/endian.m4 and use it in configure.ac. 2012-02-05 18:58:11 +11:00
Erik de Castro Lopo
1649c4ab3c Encoder::Stream::set_metadata() broken - ID: 3282704
http://sourceforge.net/tracker/?func=detail&aid=3282704&group_id=13478&atid=313478
2012-02-05 16:51:32 +11:00
Erik de Castro Lopo
8f95634bd9 Memory and fd leak fixes - ID: 3436668
http://sourceforge.net/tracker/?func=detail&aid=3436668&group_id=13478&atid=313478
2012-02-05 16:51:32 +11:00
Erik de Castro Lopo
0fe9767ebb configure.ac : Patch from David Yeo. OS/2 uses aout format. 2012-02-05 16:29:43 +11:00
Erik de Castro Lopo
8b4bc4b733 configure.ac : Patch from David Yeo adding LT_NO_UNDEFINED for OS/2. 2012-02-05 16:28:40 +11:00
Erik de Castro Lopo
698ee5c7ed Purge MINGW_WINSOCK_LIBS config variable.
This was only needed for ntohl() function which has already been removed.
2012-02-05 16:25:22 +11:00
Erik de Castro Lopo
79828211ed Remove configure maintainer mode.
It doesn't play nicely with git and multiple branches.
2012-02-05 13:45:35 +11:00
Erik de Castro Lopo
a5d1d4f0c5 Improve endswapping (especially purge ntohl). 2012-02-05 11:24:14 +11:00
Erik de Castro Lopo
a3f43aaa7c configure.ac : Detect more headers. 2012-02-05 09:23:38 +11:00
Erik de Castro Lopo
6184fd7452 include/share/Makefile.am : Add compat.h to EXTRA_DIST. 2012-02-05 09:21:29 +11:00
Erik de Castro Lopo
4dfb536b1d Patch from JonY to remove more CPP hackery. 2012-02-04 20:47:10 +11:00
Erik de Castro Lopo
59afe36f71 Add file include/share/compat.h and start moving CPP hackery into it. 2012-02-04 16:13:37 +11:00
Erik de Castro Lopo
494919106a Makefile.am : Add CLEANFILES entry. 2012-02-04 16:12:05 +11:00
Erik de Castro Lopo
6c7568b712 Patch from JonY to suppress redefinition warnings with mingw-w64 lfs64 warnings. 2012-02-04 15:31:28 +11:00
Erik de Castro Lopo
a606e1a7ef Renable metaflac tests disabled earlier because they were failing. 2012-02-04 14:13:45 +11:00
Erik de Castro Lopo
7ee908403e Fix cuesheet bug introduced in ce8a75134c.
This bug was causing the test_metaflac.sh test to fail after Earl Chew's
patch 19050f74ea was supposed to fix an
older bug.
2012-02-04 14:08:12 +11:00
Erik de Castro Lopo
19050f74ea Cuesheet patch from Earl Chew.
When reading the INDEX from the cue sheet, the format MM:SS:FF format
is disallowed if the sample frequency is not a multiple of 75 because
the index would only be approximate. However, 00:00:00 is _exact_
because it denotes the start of the track, so allow it as a special
case.
2012-02-04 13:01:02 +11:00
Erik de Castro Lopo
d5bb4be5b4 Patch from David Yeo to conditionally include <inttypes.h>. 2012-02-04 11:06:12 +11:00
Erik de Castro Lopo
08832d1133 XMMS patch from Timothy B. Terriberry 2012-02-03 06:23:09 +11:00
Erik de Castro Lopo
1ca541323b Fix 'make distcheck'. 2012-02-03 06:21:57 +11:00
Erik de Castro Lopo
886b960211 configure.ac : Only use AM_SILENT_RULES if its available. Thanks Earl Chew. 2012-02-03 05:52:01 +11:00
Erik de Castro Lopo
027ab05589 Merge git://github.com/avuton/flac 2012-02-02 17:45:09 +11:00
Ralph Giles
b2ef988135 Add test_wrapper.sh to the distribution.
Needed for 'make check'.
2012-02-02 17:32:58 +11:00
Ralph Giles
83e4d70a05 Use the correct project filenames for flactimer.
'make dist' was failing because src/utils/flactime/Makefile.am listed
'flactime' instead of 'flactimer' as the base name of the MSVC project
files. Since the files uses the 'flactimer' name internally, I updated
the Makefile rather than the filenames.
2012-02-02 17:32:45 +11:00
Avuton Olrich
8019c8e525 Fix --disable-doxygen-docs install 2012-02-01 19:46:27 -08:00
Erik de Castro Lopo
3b41451197 Fix memory leak when reinitializing stream encoder.
http://sourceforge.net/tracker/?func=detail&aid=3390048&group_id=13478&atid=313478
2012-02-01 22:01:05 +11:00
Erik de Castro Lopo
e7fb2153b3 Add 'make fastcheck' target. 2012-02-01 22:00:08 +11:00
Erik de Castro Lopo
9c2290ade5 Fix more printf formatting issues and remove un-necessary casts. 2012-02-01 21:46:35 +11:00
Erik de Castro Lopo
ce8a75134c Fix a bunch of printf format warnings. 2012-02-01 20:34:04 +11:00
Erik de Castro Lopo
8bbbf56403 Fix compiler warnings. 2012-02-01 19:58:09 +11:00
Erik de Castro Lopo
6b3b137099 Fix a couple of -Winline warnings. 2012-02-01 19:49:54 +11:00
Erik de Castro Lopo
51d77d1267 Remove old configure.in. 2012-02-01 19:41:16 +11:00
Erik de Castro Lopo
06ed05e3b4 Rename configure.in -> configure.ac. 2012-02-01 17:55:50 +11:00