aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libaacs/libaacs-0.8.1-include-errno.patch10
-rw-r--r--libraries/libaacs/libaacs.SlackBuild8
-rw-r--r--libraries/libaacs/libaacs.info6
3 files changed, 19 insertions, 5 deletions
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 0000000000000..f5c2a9fcf5d49
--- /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 <errno.h>
+ #include <pthread.h>
+ #endif
+ #endif
diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild
index 66cff2fce8e2a..d8fcf64eead78 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 6d4e275a9e714..b1df09fc43d2c 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=""