summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
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)
{