From 23a67b7ab2d131e2f4efaf35cc7589b488e22fa9 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 11 Oct 2015 23:17:24 +0700 Subject: libraries/libaacs: Updated for version 0.8.1. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libaacs/libaacs-0.8.1-include-errno.patch | 10 ++++++++++ libraries/libaacs/libaacs.SlackBuild | 8 ++++++-- libraries/libaacs/libaacs.info | 6 +++--- 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 libraries/libaacs/libaacs-0.8.1-include-errno.patch diff --git a/libraries/libaacs/libaacs-0.8.1-include-errno.patch b/libraries/libaacs/libaacs-0.8.1-include-errno.patch new file mode 100644 index 0000000000..f5c2a9fcf5 --- /dev/null +++ b/libraries/libaacs/libaacs-0.8.1-include-errno.patch @@ -0,0 +1,10 @@ +--- libaacs-0.8.1/src/libaacs/crypto.c ++++ libaacs-0.8.1/src/libaacs/crypto.c +@@ -37,6 +37,7 @@ + + #ifdef HAVE_PTHREAD_H + #if GCRYPT_VERSION_NUMBER < 0x010600 ++#include + #include + #endif + #endif diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild index 66cff2fce8..d8fcf64eea 100644 --- a/libraries/libaacs/libaacs.SlackBuild +++ b/libraries/libaacs/libaacs.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libaacs -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,10 +70,14 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix CL/RF formatting. -cat KEYDB.cfg | sed -e 's/\r//g' > KEYDB.cfg.new +sed -e 's/\r//g' KEYDB.cfg > KEYDB.cfg.new touch -r KEYDB.cfg KEYDB.cfg.new mv KEYDB.cfg.new KEYDB.cfg +# Fix ENOMEM bug. +# Issue: https://bugs.gentoo.org/show_bug.cgi?id=550978 +patch -p1 < $CWD/libaacs-0.8.1-include-errno.patch + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/libraries/libaacs/libaacs.info b/libraries/libaacs/libaacs.info index 6d4e275a9e..b1df09fc43 100644 --- a/libraries/libaacs/libaacs.info +++ b/libraries/libaacs/libaacs.info @@ -1,8 +1,8 @@ PRGNAM="libaacs" -VERSION="0.8.0" +VERSION="0.8.1" HOMEPAGE="http://www.videolan.org/developers/libaacs.html" -DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/libaacs/0.8.0/libaacs-0.8.0.tar.bz2" -MD5SUM="0b6fb63f81d62cd6acc98ae8f8d50c74" +DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/libaacs/0.8.1/libaacs-0.8.1.tar.bz2" +MD5SUM="2210935ac10d47887fb35ceb11d67eed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3