summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-07-16 19:52:46 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-17 07:15:42 +0700
commitcb8db2ed5c976d978054c134004c6ea1a3974d6c (patch)
treeb4bfa3f4b685c8e2ed19542de9eb3cfd47b74fdf /development
parentaf75a4ef9385db8991753dcf7130bab4f3a60a1d (diff)
downloadslackbuilds-cb8db2ed5c976d978054c134004c6ea1a3974d6c.tar.gz
development/slibtool: Updated for version 0.5.24.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/slibtool/sandbox.patch.gzbin0 -> 1851 bytes
-rw-r--r--development/slibtool/slibtool.SlackBuild17
-rw-r--r--development/slibtool/slibtool.info6
3 files changed, 19 insertions, 4 deletions
diff --git a/development/slibtool/sandbox.patch.gz b/development/slibtool/sandbox.patch.gz
new file mode 100644
index 0000000000..067ac7a3cd
--- /dev/null
+++ b/development/slibtool/sandbox.patch.gz
Binary files differ
diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild
index f9ea997be9..db9512673b 100644
--- a/development/slibtool/slibtool.SlackBuild
+++ b/development/slibtool/slibtool.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slibtool
-VERSION=${VERSION:-0.5.21}
+VERSION=${VERSION:-0.5.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,12 +72,27 @@ find -L . \
[ "${DEBUG:=0}" != 0 ] && \
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
+# Fix build with sandbox
+# https://bugs.gentoo.org/656184
+# slbt_adjust_linker_argument(): properly handle explicit .a/.so arguments.
+# slbt_adjust_linker_argument(): process dependencies also for non-pic .la args.
+# slbt_adjust_linker_argument(): properly handle external archives and libraries.
+# whitespace meditation.
+# link mode: properly handle explicit archive input arguments.
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=6a1ae75038ff6d45ff3c7bbd4ef090798545e617
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=2a0acb3d2d178cce84d511b727e1410ebb8dbce5
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=ba8a741ee5b66da5a2d44c1c9b9f6eb6d54e0b18
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=6185379aed8fab5a5d230e4a828258c6a5516743
+# https://git.midipix.org/cgit.cgi/slibtool/commit/?id=46aa6f554c0f2ef1affa5ae292fffec6907ff4b3
+zcat $CWD/sandbox.patch.gz | patch -p1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--enable-shared \
+ --pkgdurl='http://slackbuilds.org/apps/slibtool/' \
--build=$ARCH-slackware-linux
make
diff --git a/development/slibtool/slibtool.info b/development/slibtool/slibtool.info
index c5980b9858..0f3a2de4fd 100644
--- a/development/slibtool/slibtool.info
+++ b/development/slibtool/slibtool.info
@@ -1,8 +1,8 @@
PRGNAM="slibtool"
-VERSION="0.5.21"
+VERSION="0.5.24"
HOMEPAGE="https://midipix.org/"
-DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.21.tar.xz"
-MD5SUM="738d31f5d5f81855000a61cc5c11e07c"
+DOWNLOAD="https://midipix.org/dl/slibtool/slibtool-0.5.24.tar.xz"
+MD5SUM="f5df29d93ccac34e97999b02e0a29c7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""