summaryrefslogtreecommitdiffstats
path: root/source/l/libplist
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-06-16 20:50:41 +0000
committer Eric Hameleers <alien@slackware.com>2020-06-17 02:59:54 +0200
commit9c5b3c5ded27e00c682dc83567073f051e7443de (patch)
tree941ca708815b7075f1487cb58649437578821469 /source/l/libplist
parent539ddffb15d4b62ad02bc8de3801a05a0fc75018 (diff)
downloadcurrent-9c5b3c5ded27e00c682dc83567073f051e7443de.tar.gz
current-9c5b3c5ded27e00c682dc83567073f051e7443de.tar.xz
Tue Jun 16 20:50:41 UTC 202020200616205041
a/shadow-4.8.1-x86_64-10.txz: Rebuilt. system-auth: auth required pam_unix.so [...], otherwise the stack exits before pam_gnome_keyring.so executes. Thanks to pyllyukko. Get rid of "auth required pam_deny.so" which seems like a mistake. Still pending: consider GazL's comments on moving stuff out of system-auth. a/upower-0.9.23-x86_64-5.txz: Rebuilt. Recompiled against libimobiledevice-20200615_4791a82 and libplist-2.2.0. The renaming mess initiated by libplist required a rebuild on this one to keep things consistent for now, but don't worry - we aren't going to be sticking to this version for long or anything. ap/hplip-3.20.6-x86_64-1.txz: Upgraded. ap/usbmuxd-20200615_3daa1e9-x86_64-1.txz: Upgraded. Compiled against libimobiledevice-20200615_4791a82 and libplist-2.2.0. d/bison-3.6.4-x86_64-1.txz: Upgraded. d/meson-0.54.3-x86_64-1.txz: Upgraded. d/python-setuptools-47.3.0-x86_64-1.txz: Upgraded. l/ffmpeg-4.3-x86_64-1.txz: Upgraded. l/gvfs-1.44.1-x86_64-2.txz: Rebuilt. Recompiled against libimobiledevice-20200615_4791a82 and libplist-2.2.0. l/libgpod-0.8.3-x86_64-7.txz: Rebuilt. Recompiled against libimobiledevice-20200615_4791a82 and libplist-2.2.0. l/libimobiledevice-20200615_4791a82-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/libplist-2.2.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/libusbmuxd-20200615_c7d7d1a-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/fetchmail-6.4.8-x86_64-1.txz: Upgraded. n/nftables-0.9.6-x86_64-1.txz: Upgraded. extra/pure-alsa-system/ffmpeg-4.3-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/l/libplist')
-rwxr-xr-xsource/l/libplist/libplist.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/l/libplist/libplist.SlackBuild b/source/l/libplist/libplist.SlackBuild
index f64263e97..7f4be02aa 100755
--- a/source/l/libplist/libplist.SlackBuild
+++ b/source/l/libplist/libplist.SlackBuild
@@ -109,12 +109,21 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux || exit 1
+# Hack this to link with -lm:
+sed -i "s/LIBS = -lpthread/LIBS = -lpthread -lm/g" src/Makefile
+
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Provide symlinks from the old pkgconfig names:
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+ ln -sf libplist++-2.*.pc libplist++.pc
+ ln -sf libplist-2.*.pc libplist.pc
+)
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null