pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/flac FLAC 1.3.2:
details: https://anonhg.NetBSD.org/pkgsrc/rev/3ddce7bd8068
branches: trunk
changeset: 356474:3ddce7bd8068
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jan 01 11:52:36 2017 +0000
description:
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:
audio/flac/Makefile | 12 +------
audio/flac/distinfo | 14 ++++----
audio/flac/patches/patch-af | 29 ------------------
audio/flac/patches/patch-configure | 14 ++++----
audio/flac/patches/patch-strip_non_asm_libtool_args.sh | 29 ++++++++++++++++++
5 files changed, 45 insertions(+), 53 deletions(-)
diffs (143 lines):
diff -r e840d4bd9045 -r 3ddce7bd8068 audio/flac/Makefile
--- a/audio/flac/Makefile Sun Jan 01 11:50:25 2017 +0000
+++ b/audio/flac/Makefile Sun Jan 01 11:52:36 2017 +0000
@@ -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 @@
.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 @@
.endif
.include "../../multimedia/libogg/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff -r e840d4bd9045 -r 3ddce7bd8068 audio/flac/distinfo
--- a/audio/flac/distinfo Sun Jan 01 11:50:25 2017 +0000
+++ b/audio/flac/distinfo Sun Jan 01 11:52:36 2017 +0000
@@ -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 -r e840d4bd9045 -r 3ddce7bd8068 audio/flac/patches/patch-af
--- a/audio/flac/patches/patch-af Sun Jan 01 11:50:25 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-af,v 1.5 2016/01/07 15:34:33 jperkin Exp $
-
-Support -kPIC and simplify.
-
---- strip_non_asm_libtool_args.sh.orig 2004-07-29 08:43:23.000000000 +0200
-+++ strip_non_asm_libtool_args.sh 2007-02-22 20:11:41.000000000 +0100
-@@ -5,15 +5,12 @@
- # Also, on some versions of OS X it tries to pass -fno-common
- # to 'as' which causes problems.
- command=""
--while [ $1 ]; do
-- if [ "$1" != "-fPIC" ]; then
-- if [ "$1" != "-DPIC" ]; then
-- if [ "$1" != "-fno-common" ]; then
-- command="$command $1"
-- fi
-- fi
-- fi
-- shift
-+for arg; do
-+ case "$arg" in
-+ -[DfK]PIC |\
-+ -fno-common) continue;;
-+ esac
-+ command="$command $arg"
- done
--echo $command
-+echo "$command"
- exec $command
diff -r e840d4bd9045 -r 3ddce7bd8068 audio/flac/patches/patch-configure
--- a/audio/flac/patches/patch-configure Sun Jan 01 11:50:25 2017 +0000
+++ b/audio/flac/patches/patch-configure Sun Jan 01 11:52:36 2017 +0000
@@ -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 -r e840d4bd9045 -r 3ddce7bd8068 audio/flac/patches/patch-strip_non_asm_libtool_args.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flac/patches/patch-strip_non_asm_libtool_args.sh Sun Jan 01 11:52:36 2017 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-strip_non_asm_libtool_args.sh,v 1.1 2017/01/01 11:52:36 adam Exp $
+
+Support -kPIC and simplify.
+
+--- strip_non_asm_libtool_args.sh.orig 2004-07-29 08:43:23.000000000 +0200
++++ strip_non_asm_libtool_args.sh 2007-02-22 20:11:41.000000000 +0100
+@@ -5,15 +5,12 @@
+ # Also, on some versions of OS X it tries to pass -fno-common
+ # to 'as' which causes problems.
+ command=""
+-while [ $1 ]; do
+- if [ "$1" != "-fPIC" ]; then
+- if [ "$1" != "-DPIC" ]; then
+- if [ "$1" != "-fno-common" ]; then
+- command="$command $1"
+- fi
+- fi
+- fi
+- shift
++for arg; do
++ case "$arg" in
++ -[DfK]PIC |\
++ -fno-common) continue;;
++ esac
++ command="$command $arg"
+ done
+-echo $command
++echo "$command"
+ exec $command
Home |
Main Index |
Thread Index |
Old Index