summaryrefslogtreecommitdiff
path: root/libraries/libaacs/libaacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libaacs/libaacs.SlackBuild')
-rw-r--r--libraries/libaacs/libaacs.SlackBuild8
1 files changed, 6 insertions, 2 deletions
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 \