summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/flac/distinfo5
-rw-r--r--audio/flac/patches/patch-af4
-rw-r--r--audio/flac/patches/patch-configure15
3 files changed, 21 insertions, 3 deletions
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
index 5601fadbbb3..1382cd46042 100644
--- a/audio/flac/distinfo
+++ b/audio/flac/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.23 2015/11/03 01:12:31 agc Exp $
+$NetBSD: distinfo,v 1.24 2016/01/07 15:34:33 jperkin 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) = a91054ce5d37ac2dc88725fa68c59413b5f52067
+SHA1 (patch-af) = f90f09fbf6a0fa938693a9d52316d3a4105129e5
+SHA1 (patch-configure) = 10d46b998336e95517e692674a7ae6f692b055eb
diff --git a/audio/flac/patches/patch-af b/audio/flac/patches/patch-af
index 8da936f7186..e20df1bf254 100644
--- a/audio/flac/patches/patch-af
+++ b/audio/flac/patches/patch-af
@@ -1,4 +1,6 @@
-$NetBSD: patch-af,v 1.4 2007/02/22 19:11:26 rillig Exp $
+$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
diff --git a/audio/flac/patches/patch-configure b/audio/flac/patches/patch-configure
new file mode 100644
index 00000000000..923d131bf69
--- /dev/null
+++ b/audio/flac/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2016/01/07 15:34:33 jperkin Exp $
+
+Don't remove -g, breaks -gfoo arguments.
+
+--- configure.orig 2014-11-27 02:46:58.688355504 +0000
++++ configure
+@@ -19874,7 +19874,7 @@ 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"
+ fi
+