summaryrefslogtreecommitdiff
path: root/source/l/aalib
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/aalib')
-rw-r--r--source/l/aalib/aalib-aclocal.patch11
-rwxr-xr-xsource/l/aalib/aalib.SlackBuild8
2 files changed, 16 insertions, 3 deletions
diff --git a/source/l/aalib/aalib-aclocal.patch b/source/l/aalib/aalib-aclocal.patch
new file mode 100644
index 00000000..7fac434f
--- /dev/null
+++ b/source/l/aalib/aalib-aclocal.patch
@@ -0,0 +1,11 @@
+--- ./aalib.m4.orig 2001-04-26 09:37:31.000000000 -0500
++++ ./aalib.m4 2013-06-23 14:01:12.058620076 -0500
+@@ -9,7 +9,7 @@
+ dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+ dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
+ dnl
+-AC_DEFUN(AM_PATH_AALIB,
++AC_DEFUN([AM_PATH_AALIB],
+ [dnl
+ dnl Get the cflags and libraries from the aalib-config script
+ dnl
diff --git a/source/l/aalib/aalib.SlackBuild b/source/l/aalib/aalib.SlackBuild
index 20465dd0..2da339e5 100755
--- a/source/l/aalib/aalib.SlackBuild
+++ b/source/l/aalib/aalib.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2013 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PKGNAM=aalib
VERSION=1.4rc5
SRCVER=1.4.0
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -59,13 +59,15 @@ else
fi
cd $TMP
-rm -rf ${PKGNAM}-${VERSION}
+rm -rf ${PKGNAM}-${SRCVER}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.gz || exit 1
cd ${PKGNAM}-${SRCVER} || exit 1
#cp /usr/share/libtool/config.{guess,sub} . # libtool-1.x
cp /usr/share/libtool/config/config.{guess,sub} . # libtool-2.x
sed -i -e "s# -lslang# -lslang1#" configure
+zcat $CWD/aalib-aclocal.patch.gz | patch -p1 --verbose || exit 1
+
# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \