aboutsummaryrefslogtreecommitdiff
path: root/development/slibtool
diff options
context:
space:
mode:
Diffstat (limited to 'development/slibtool')
-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 000000000000..067ac7a3cd4d
--- /dev/null
+++ b/development/slibtool/sandbox.patch.gz
Binary files differ
diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild
index f9ea997be9aa..db9512673ba8 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 c5980b98582c..0f3a2de4fd37 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=""