diff options
author | adam <adam@pkgsrc.org> | 2017-01-01 11:52:36 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-01-01 11:52:36 +0000 |
commit | 2600f0139058ac6e872bf8ea6d51bfe7948a4247 (patch) | |
tree | 4ef7c3aa97a83bfd9bb16c6d11c48f8e26639f7e /audio/flac | |
parent | cb1d875e0e26de4cdc5948ce0baa6a861e286f07 (diff) | |
download | pkgsrc-2600f0139058ac6e872bf8ea6d51bfe7948a4247.tar.gz |
FLAC 1.3.2:
General:
* Fix undefined behaviour using GCC/Clang UBSAN (erikd).
* General hardening via fuzz testing with AFL (erikd and others).
* General code improvements (lvqcl, erikd and others).
* Add FLAC in MP4 specification docs (Ralph Giles).
* MSVS build cleanups (lvqcl).
* Fix some cppcheck warnings (erikd).
* Assume all currently used OSes support SSE2.
flac:
* Fix potential infinite loop on flac-to-flac conversion (erikd).
* Add WAVEFORMATEXTENSIBLE to WAV (as needed) when decoding (lvqcl).
* Only write vorbis-comments if they are non-empty.
* Error out if decoding RAW with bits != (8|16|24).
metaflac:
* Add --scan-replay-gain option.
build system:
* Fixes for MSVC and Makefile.lite build systems.
libraries:
* CPU detection cleanup and fixes (Julian Calaby, erikd and lvqcl).
* Fix two stream decoder bugs (Max Kellermann).
* Fix a NULL dereference bug (on a malformed file).
* Changed the LPC order guess for a slight compression improvement, particularly for classical music (Martijn van Beurden).
* Improved encoding speed on older Intel CPUs.
* Fixed a seeking bug when decoding certain files (Miroslav Lichvar).
* Put an upper bound (32768) on the number of seek points.
* Fix potential memory leaks.
* Support 64bit brword/bwword allowing FLAC__BYTES_PER_WORD to be set to 8 (disabled by default).
* Fix an out-of-bounds heap read.
* Win32: Only use large buffers when writing to disk.
Diffstat (limited to 'audio/flac')
-rw-r--r-- | audio/flac/Makefile | 12 | ||||
-rw-r--r-- | audio/flac/distinfo | 14 | ||||
-rw-r--r-- | audio/flac/patches/patch-configure | 14 | ||||
-rw-r--r-- | audio/flac/patches/patch-strip_non_asm_libtool_args.sh (renamed from audio/flac/patches/patch-af) | 2 |
4 files changed, 17 insertions, 25 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index cd51f73884b..f1cfd74d401 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.50 2014/11/29 20:42:12 adam Exp $ +# $NetBSD: Makefile,v 1.51 2017/01/01 11:52:36 adam Exp $ -DISTNAME= flac-1.3.1 +DISTNAME= flac-1.3.2 CATEGORIES= audio archivers MASTER_SITES= http://downloads.xiph.org/releases/flac/ EXTRACT_SUFX= .tar.xz @@ -40,13 +40,6 @@ CONFIGURE_ARGS+= --disable-asm-optimizations .include "../../mk/compiler.mk" -# Version 1.1.2 of flac doesn't seem to build correctly with -O3 using -# the MIPSpro compiler. -# XXX: retry for 1.1.3 -.if !empty(PKGSRC_COMPILER:Mmipspro) -BUILDLINK_TRANSFORM+= rm:-O3 -.endif - # SunPro does not support __inline .if !empty(PKGSRC_COMPILER:Msunpro) CFLAGS+= -D__inline=inline @@ -58,5 +51,4 @@ BUILDLINK_TRANSFORM+= rm:-fgnu89-inline .endif .include "../../multimedia/libogg/buildlink3.mk" - .include "../../mk/bsd.pkg.mk" diff --git a/audio/flac/distinfo b/audio/flac/distinfo index 1382cd46042..51250bd8252 100644 --- a/audio/flac/distinfo +++ b/audio/flac/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.24 2016/01/07 15:34:33 jperkin Exp $ +$NetBSD: distinfo,v 1.25 2017/01/01 11:52:36 adam Exp $ -SHA1 (flac-1.3.1.tar.xz) = 38e17439d11be26207e4af0ff50973815694b26f -RMD160 (flac-1.3.1.tar.xz) = 50d93b3663c1983af2b8cd0cea9f7069d5b8ab46 -SHA512 (flac-1.3.1.tar.xz) = 923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5 -Size (flac-1.3.1.tar.xz) = 941848 bytes -SHA1 (patch-af) = f90f09fbf6a0fa938693a9d52316d3a4105129e5 -SHA1 (patch-configure) = 10d46b998336e95517e692674a7ae6f692b055eb +SHA1 (flac-1.3.2.tar.xz) = 658d1acc9e39267de8ca377f2aa8ece677aee2cd +RMD160 (flac-1.3.2.tar.xz) = d69613859a5b9958ee59b5334fa4665196e97668 +SHA512 (flac-1.3.2.tar.xz) = b6dfc7e31dc1fad434ff751a9f4748354de242af94d56c93254245ddb740ffa19e56f32100c3723b601ba345156e927d61a80722126cc75ebe55092179427cac +Size (flac-1.3.2.tar.xz) = 776016 bytes +SHA1 (patch-configure) = 74e3e944f70ba6d1bf9d94fab1d9174a3dab04bb +SHA1 (patch-strip_non_asm_libtool_args.sh) = f90f09fbf6a0fa938693a9d52316d3a4105129e5 diff --git a/audio/flac/patches/patch-configure b/audio/flac/patches/patch-configure index 923d131bf69..b4d49415a68 100644 --- a/audio/flac/patches/patch-configure +++ b/audio/flac/patches/patch-configure @@ -1,15 +1,15 @@ -$NetBSD: patch-configure,v 1.1 2016/01/07 15:34:33 jperkin Exp $ +$NetBSD: patch-configure,v 1.2 2017/01/01 11:52:36 adam Exp $ -Don't remove -g, breaks -gfoo arguments. +Don't force compiler optimisations. ---- configure.orig 2014-11-27 02:46:58.688355504 +0000 +--- configure.orig 2017-01-01 01:48:15.000000000 +0000 +++ configure -@@ -19874,7 +19874,7 @@ if test "x$debug" = xtrue; then +@@ -20547,8 +20547,6 @@ if test "x$debug" = xtrue; then CFLAGS="-g $CFLAGS" else CPPFLAGS="-DNDEBUG $CPPFLAGS" -- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//') -+ CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//') - CFLAGS="-O3 -funroll-loops $CFLAGS" +- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//') +- CFLAGS="-O3 -funroll-loops $CFLAGS" fi + diff --git a/audio/flac/patches/patch-af b/audio/flac/patches/patch-strip_non_asm_libtool_args.sh index e20df1bf254..7bd45709117 100644 --- a/audio/flac/patches/patch-af +++ b/audio/flac/patches/patch-strip_non_asm_libtool_args.sh @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.5 2016/01/07 15:34:33 jperkin Exp $ +$NetBSD: patch-strip_non_asm_libtool_args.sh,v 1.1 2017/01/01 11:52:36 adam Exp $ Support -kPIC and simplify. |