From 76a904ff0f86b6c0690077d47a2fea5c80982772 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 26 Mar 2018 21:23:15 +0000
Subject: libcdio-paranoia: update 10.2+0.94+2

---
 abs/extra/libcdio-paranoia/PKGBUILD                | 27 ++++++++++++++--------
 .../libcdio-paranoia/enable_symbol_versions.patch  | 26 +++++++++++++++++++++
 2 files changed, 44 insertions(+), 9 deletions(-)
 create mode 100644 abs/extra/libcdio-paranoia/enable_symbol_versions.patch

diff --git a/abs/extra/libcdio-paranoia/PKGBUILD b/abs/extra/libcdio-paranoia/PKGBUILD
index 380ded2..6d169c6 100644
--- a/abs/extra/libcdio-paranoia/PKGBUILD
+++ b/abs/extra/libcdio-paranoia/PKGBUILD
@@ -1,18 +1,27 @@
-# $Id: PKGBUILD 174870 2013-01-08 10:06:34Z jgc $
-# Maintainer:
+# $Id$
+# Maintainer: Jan de Groot <jgc@archlinux.org>
 # Contributor: damir <damir@archlinux.org>
 
 pkgname=libcdio-paranoia
-pkgver=10.2+0.93+1
-pkgrel=1
+pkgver=10.2+0.94+2
+pkgrel=2
 pkgdesc="CD paranoia libraries from libcdio"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 license=('GPL' 'LGPL')
-url="http://www.gnu.org/software/libcdio/"
+url="https://www.gnu.org/software/libcdio/"
 depends=('libcdio')
-source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('0255aa50e660db7f2c39658b9c565814'
-         'SKIP')
+source=(https://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz{,.sig}
+        enable_symbol_versions.patch)
+sha256sums=('d60f82ece97eeb92407a9ee03f3499c8983206672c28ae5e4e22179063c81941'
+            'SKIP'
+            'f84a2467ee7ffd747cea7c783d4d53d5439b69f49d01380d650bea8454ddf5f2')
+validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein <rocky@panix.com>
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../enable_symbol_versions.patch
+  autoreconf -fi
+}
 
 build() {
   cd "${pkgname}-${pkgver}"
diff --git a/abs/extra/libcdio-paranoia/enable_symbol_versions.patch b/abs/extra/libcdio-paranoia/enable_symbol_versions.patch
new file mode 100644
index 0000000..5b31197
--- /dev/null
+++ b/abs/extra/libcdio-paranoia/enable_symbol_versions.patch
@@ -0,0 +1,26 @@
+From 69b1fabe1983d4216144c8d271bd90c24a49a9b7 Mon Sep 17 00:00:00 2001
+From: "R. Bernstein" <rocky@gnu.org>
+Date: Tue, 9 May 2017 02:34:34 -0400
+Subject: [PATCH] Default enable_version_script is yes (enabled)
+
+Fixes http://savannah.gnu.org/bugs/?50978 ?
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ed276c2..a502273 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -61,9 +61,9 @@ dnl cheeck whether ld supports --version-script
+ 
+ AC_ARG_ENABLE(ld-version-script,
+   AS_HELP_STRING([--disable-ld-version-script],
+-  [Disable linker vresion script for libraries (Defauilt is to use linker script if the linger supports it)]),
++  [Disable linker version script for libraries (Defauilt is to use linker script if the linger supports it)]),
+   [enable_version_script=$enableval],
+-  [enable_version_script=auto])
++  [enable_version_script=yes])
+ 
+ AM_CONDITIONAL(VERSION_SCRIPT, test "x$enable_version_script" = "xyes")
+ 
-- 
cgit v0.12

