summaryrefslogtreecommitdiff
path: root/source/l
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-01-12 22:20:40 +0000
committerEric Hameleers <alien@slackware.com>2021-01-13 08:59:49 +0100
commit4e75b0d129720e16c3e34ab1edce6a9597e34b10 (patch)
tree4a0d49c8de52c17458d563f9dce0510976cfe3a4 /source/l
parent33dd836e5141064180d377f39344090735772cde (diff)
downloadcurrent-4e75b0d129720e16c3e34ab1edce6a9597e34b10.tar.gz
Tue Jan 12 22:20:40 UTC 202120210112222040
a/kernel-generic-5.10.7-x86_64-1.txz: Upgraded. a/kernel-huge-5.10.7-x86_64-1.txz: Upgraded. a/kernel-modules-5.10.7-x86_64-1.txz: Upgraded. a/libblockdev-2.25-x86_64-1.txz: Upgraded. ap/sudo-1.9.5p1-x86_64-1.txz: Upgraded. Fixed a regression introduced in sudo 1.9.5 where the editor run by sudoedit was set-user-ID root unless SELinux RBAC was in use. The editor is now run with the user's real and effective user-IDs. d/autoconf-2.69-noarch-2.txz: Rebuilt. We're seeing failures using autoconf-2.70 with some packages that use autoreconf. It looks like most distributions have not moved on to autoconf-2.70, and probably we shouldn't either until the next release cycle. Thanks to nobodino. d/kernel-headers-5.10.7-x86-1.txz: Upgraded. e/emacs-27.1-x86_64-2.txz: Rebuilt. Increase SYSTEM_PURESIZE_EXTRA to 100000 to avoid overflows. Nobody should be too concerned about adding 97K to emacs' memory footprint given the amount of memory available on modern machines. Thanks to Jefferson for the bug report. k/kernel-source-5.10.7-noarch-1.txz: Upgraded. l/libclc-11.0.1-x86_64-1.txz: Upgraded. Thanks to USUARIONUEVO. l/python-pygments-2.7.4-x86_64-1.txz: Upgraded. n/gnupg2-2.2.27-x86_64-1.txz: Upgraded. n/socat-1.7.4.1-x86_64-1.txz: Upgraded. x/libdrm-2.4.104-x86_64-1.txz: Upgraded. x/libevdev-1.10.1-x86_64-1.txz: Upgraded. x/vulkan-sdk-1.2.141.0-x86_64-2.txz: Rebuilt. Install additional Vulkan-ValidationLayers-sdk header files. Thanks to walecha. xap/mozilla-thunderbird-78.6.1-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/78.6.1/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2021-02/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16044 (* Security fix *) isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/libclc/libclc.SlackBuild32
-rw-r--r--source/l/libclc/libclc.url1
2 files changed, 20 insertions, 13 deletions
diff --git a/source/l/libclc/libclc.SlackBuild b/source/l/libclc/libclc.SlackBuild
index c55ddcf2..b1931d86 100755
--- a/source/l/libclc/libclc.SlackBuild
+++ b/source/l/libclc/libclc.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for libclc
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2017, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libclc
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 4- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -74,9 +74,9 @@ PKG=$TMP/package-libclc
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf libclc-$VERSION
-tar xvf $CWD/libclc-$VERSION.tar.?z* || exit 1
-cd libclc-$VERSION || exit 1
+rm -rf libclc-${VERSION}.src
+tar xvf $CWD/libclc-$VERSION.src.tar.?z* || exit 1
+cd libclc-${VERSION}.src || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -84,18 +84,24 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS -D__extern_always_inline=inline" \
-./configure.py \
- --prefix=/usr \
- --libexecdir=/usr/lib$LIBDIRSUFFIX/clc/ \
- --pkgconfigdir=/usr/lib$LIBDIRSUFFIX/pkgconfig/ || exit 1
+# Configure, build, and install:
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ -DDOC_INSTALL_DIR="doc" \
+ -DMAN_INSTALL_DIR=/usr/man \
+ .. || exit 1
+ make $NUMJOBS || make || exit 1
+ make install DESTDIR=$PKG || exit 1
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a *.TXT $PKG/usr/doc/$PKGNAM-$VERSION
diff --git a/source/l/libclc/libclc.url b/source/l/libclc/libclc.url
new file mode 100644
index 00000000..275ba753
--- /dev/null
+++ b/source/l/libclc/libclc.url
@@ -0,0 +1 @@
+https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.1/libclc-11.0.1.src.tar.xz