summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-05-20 07:57:29 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:28:46 +0700
commita014252941e820bf996c463053a87ba802beb5cb (patch)
treefc8a0cc89fea9f8c21e430728215c34ae2c1217f
parent80744d1e94cc062d072794841a42caa947856744 (diff)
downloadslackbuilds-a014252941e820bf996c463053a87ba802beb5cb.tar.gz
libraries/libaacs: Updated for version 0.9.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
-rw-r--r--libraries/libaacs/libaacs-0.8.1-include-errno.patch10
-rw-r--r--libraries/libaacs/libaacs.SlackBuild14
-rw-r--r--libraries/libaacs/libaacs.info6
3 files changed, 8 insertions, 22 deletions
diff --git a/libraries/libaacs/libaacs-0.8.1-include-errno.patch b/libraries/libaacs/libaacs-0.8.1-include-errno.patch
deleted file mode 100644
index f5c2a9fcf5..0000000000
--- a/libraries/libaacs/libaacs-0.8.1-include-errno.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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 <errno.h>
- #include <pthread.h>
- #endif
- #endif
diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild
index d8fcf64eea..201b60e4d6 100644
--- a/libraries/libaacs/libaacs.SlackBuild
+++ b/libraries/libaacs/libaacs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libaacs
-# Copyright 2011-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libaacs
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,10 +74,6 @@ 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 751da9daf2..bded5201a4 100644
--- a/libraries/libaacs/libaacs.info
+++ b/libraries/libaacs/libaacs.info
@@ -1,8 +1,8 @@
PRGNAM="libaacs"
-VERSION="0.8.1"
+VERSION="0.9.0"
HOMEPAGE="http://www.videolan.org/developers/libaacs.html"
-DOWNLOAD="http://ftp.videolan.org/pub/videolan/libaacs/0.8.1/libaacs-0.8.1.tar.bz2"
-MD5SUM="2210935ac10d47887fb35ceb11d67eed"
+DOWNLOAD="http://ftp.videolan.org/pub/videolan/libaacs/0.9.0/libaacs-0.9.0.tar.bz2"
+MD5SUM="f6730eefc31f53b5e5b82032c424c7e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""