summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-02-21 08:19:41 +0000
committeradam <adam@pkgsrc.org>2022-02-21 08:19:41 +0000
commit4bc87ad9b427b6e2afbeff98f56c6ede5859f730 (patch)
treecf7aeb9148b354defc79441fdb73da35c721d1f1 /audio
parentfc555c001b8c393102108896217ae211b01ef03b (diff)
downloadpkgsrc-4bc87ad9b427b6e2afbeff98f56c6ede5859f730.tar.gz
flac: updated to 1.3.4
FLAC 1.3.4 This release mostly fixes (security related) bugs. When building with MSVC, using CMake is preferred, see the README under "Building with CMake" for more information. Building with MSVC using solution files is deprecated and these files will be removed in the future. General: * Fix 12 decoder bugs found by oss-fuzz, including CVE-2020-0499 (erikd, Martijn van Beurden) - Fix encoder bug CVE-2021-0561 (NeelkamalSemwal) - Integrate oss-fuzzers (erikd, Guido Vranken) - Seeking fixes (NeelkamalSemwal, Robert Kausch) - Various fixes and improvements (Andrei Astafev, Rosen Penev, Håkan Kvist, oreo639, erikd, Tamás Zahola, Ulrik Mikaelsson, Tyler Dunn, tmkk) * FLAC format: - (none) * Ogg FLAC format: - (none) * flac: - Various fixes and improvements (Andrei Astafev, Martijn van Beurden) * metaflac: - (none) * build system: - CMake improvements (evpobr, Vitaliy Kirsanov, erikd, Ozkan Sezer, Tyler Dunn, tg-m DeadSix27, ericLemanissier, Chocobo1). - Fixes for MinGW and MSVC (Ozkan Sezer). - Fix for clang (Ozkan Sezer) - Fix for PowerPC (Peter Seiderer, Thomas BERNARD) - Fix for FreeBSD PowerPC (pkubaj). * testing/validation: - Add Windows target to CI, improve logging (Ralph Giles) - CI improvements (Ralph Giles, Ewout ter Hoeven) * documentation: - Doxygen fixes (Tyler Dunn) - Fix typos (Tim Gates, maxz) * Interface changes: - libFLAC: (none) - libFLAC++: (none)
Diffstat (limited to 'audio')
-rw-r--r--audio/flac/Makefile4
-rw-r--r--audio/flac/distinfo10
-rw-r--r--audio/flac/patches/patch-src_libFLAC_cpu.c10
3 files changed, 12 insertions, 12 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index aa1b427893a..b5b986508f1 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2021/08/01 05:07:54 nia Exp $
+# $NetBSD: Makefile,v 1.57 2022/02/21 08:19:41 adam Exp $
-DISTNAME= flac-1.3.3
+DISTNAME= flac-1.3.4
CATEGORIES= audio archivers
MASTER_SITES= http://downloads.xiph.org/releases/flac/
EXTRACT_SUFX= .tar.xz
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
index 3c907a7fb4b..615c4dccb4a 100644
--- a/audio/flac/distinfo
+++ b/audio/flac/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.31 2021/10/26 09:58:57 nia Exp $
+$NetBSD: distinfo,v 1.32 2022/02/21 08:19:41 adam Exp $
-BLAKE2s (flac-1.3.3.tar.xz) = 27063f100e8192c54a8d65ca18cb18e60caea787f17a8fb2a9b201afb30af260
-SHA512 (flac-1.3.3.tar.xz) = d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28
-Size (flac-1.3.3.tar.xz) = 1044472 bytes
+BLAKE2s (flac-1.3.4.tar.xz) = 468b76470ad135725e8effaadcf1de1963863ee5486d5693793f613f93618430
+SHA512 (flac-1.3.4.tar.xz) = 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
+Size (flac-1.3.4.tar.xz) = 1038356 bytes
SHA1 (patch-configure.ac) = 6a6635a37bdbfe7bc2a4e2531f27935f9d545368
SHA1 (patch-microbench_util.c) = f03bfbef537d10ceb9742451ec3509be886e15ed
-SHA1 (patch-src_libFLAC_cpu.c) = 874fae82ad0596696579d6053f1b19018073c079
+SHA1 (patch-src_libFLAC_cpu.c) = f1a3021bb93ba1abfd24a84988f627a5817bec5a
SHA1 (patch-strip_non_asm_libtool_args.sh) = f90f09fbf6a0fa938693a9d52316d3a4105129e5
diff --git a/audio/flac/patches/patch-src_libFLAC_cpu.c b/audio/flac/patches/patch-src_libFLAC_cpu.c
index 2b1c533c9fd..61b2ad0e335 100644
--- a/audio/flac/patches/patch-src_libFLAC_cpu.c
+++ b/audio/flac/patches/patch-src_libFLAC_cpu.c
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_libFLAC_cpu.c,v 1.1 2019/12/17 13:59:50 nros Exp $
+$NetBSD: patch-src_libFLAC_cpu.c,v 1.2 2022/02/21 08:19:41 adam Exp $
-* check for getauxval and sys/auxv.h since it is not available on all systems
+Check for getauxval and sys/auxv.h since it is not available on all systems
---- src/libFLAC/cpu.c.orig 2018-08-20 08:17:21.000000000 +0000
+--- src/libFLAC/cpu.c.orig 2021-07-09 20:24:42.000000000 +0000
+++ src/libFLAC/cpu.c
@@ -53,7 +53,7 @@
#define dfprintf(file, format, ...)
@@ -10,10 +10,10 @@ $NetBSD: patch-src_libFLAC_cpu.c,v 1.1 2019/12/17 13:59:50 nros Exp $
-#if defined FLAC__CPU_PPC
+#if (defined(FLAC__CPU_PPC) && defined(HAVE_SYS_AUXV_H))
+ #if defined(__linux__) || (defined(__FreeBSD__) && (__FreeBSD__ >= 12))
#include <sys/auxv.h>
#endif
-
-@@ -236,7 +236,7 @@ x86_cpu_info (FLAC__CPUInfo *info)
+@@ -238,7 +238,7 @@ x86_cpu_info (FLAC__CPUInfo *info)
static void
ppc_cpu_info (FLAC__CPUInfo *info)
{