diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2024-03-07 20:40:08 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2024-03-07 22:49:08 +0100 |
commit | 66e838eb2b90374a91406df2f10d14bd6d528f38 (patch) | |
tree | 25c41b4a07b80c70ffc1fc20d7dd609f4972877a /source | |
parent | c3fb4577bf0ad3f9a7369ba6b4d9be979de8fc9f (diff) | |
download | current-66e838eb2b90374a91406df2f10d14bd6d528f38.tar.gz current-66e838eb2b90374a91406df2f10d14bd6d528f38.tar.xz |
Thu Mar 7 20:40:08 UTC 202420240307204008
ap/ghostscript-10.03.0-x86_64-1.txz: Upgraded.
This update addresses a security issue:
A vulnerability was identified in the way Ghostscript/GhostPDL called
tesseract for the OCR devices, which could allow arbitrary code execution.
Thanks to J_W for the heads-up.
(* Security fix *)
ap/lxc-4.0.12-x86_64-3.txz: Rebuilt.
lxc-slackware.in: include gnupg2 (not gnupg) for slackpkg.
ap/slackpkg-15.0.10-noarch-3.txz: Rebuilt.
core-functions.sh: use gpg2, not gpg.
d/Cython-3.0.9-x86_64-1.txz: Upgraded.
d/git-2.44.0-x86_64-2.txz: Rebuilt.
Include git-subtree. Thanks to gwhl.
d/llvm-18.1.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
kde/kdevelop-23.08.5-x86_64-2.txz: Rebuilt.
Recompiled against llvm-18.1.0.
l/openexr-3.2.3-x86_64-1.txz: Upgraded.
l/python-importlib_metadata-7.0.2-x86_64-1.txz: Upgraded.
l/python-trove-classifiers-2024.3.3-x86_64-1.txz: Upgraded.
l/qt5-5.15.12_20240228_6609503f-x86_64-1.txz: Upgraded.
Compiled against llvm-18.1.0.
l/qt6-6.6.2_20240210_15b7e743-x86_64-3.txz: Rebuilt.
Recompiled against llvm-18.1.0.
l/spirv-llvm-translator-18.1.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
n/gnupg2-2.4.5-x86_64-1.txz: Upgraded.
n/libassuan-2.5.7-x86_64-1.txz: Upgraded.
n/postfix-3.9.0-x86_64-1.txz: Upgraded.
x/mesa-24.0.2-x86_64-2.txz: Rebuilt.
Recompiled against llvm-18.1.0 and spirv-llvm-translator-18.1.0.
isolinux/initrd.img: Rebuilt.
Fixed kernel version. Thanks to chrisVV.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Fixed kernel version. Thanks to chrisVV.
Diffstat (limited to 'source')
-rw-r--r-- | source/ap/ghostscript/9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa.patch | 52 | ||||
-rwxr-xr-x | source/ap/ghostscript/ghostscript.SlackBuild | 7 | ||||
-rw-r--r-- | source/ap/ghostscript/ghostscript.url | 2 | ||||
-rw-r--r-- | source/ap/lxc/lxc-slackware.in | 2 | ||||
-rwxr-xr-x | source/ap/lxc/lxc.SlackBuild | 2 | ||||
-rw-r--r-- | source/ap/slackpkg/files/core-functions.sh | 14 | ||||
-rwxr-xr-x | source/ap/slackpkg/slackpkg.SlackBuild | 2 | ||||
-rwxr-xr-x | source/d/git/git.SlackBuild | 16 | ||||
-rw-r--r-- | source/d/llvm/clang.toolchains.i586.triple.diff | 8 | ||||
-rwxr-xr-x | source/d/llvm/llvm.SlackBuild | 34 | ||||
-rw-r--r-- | source/d/llvm/llvm.url | 44 | ||||
-rw-r--r-- | source/d/llvm/llvm.wrong.LLVM_LIBDIR_SUFFIX.patch | 11 | ||||
-rw-r--r-- | source/d/llvm/missing-runtime-modules/HandleFlags.cmake | 113 | ||||
-rw-r--r-- | source/d/llvm/missing-runtime-modules/WarningFlags.cmake | 77 | ||||
-rw-r--r-- | source/kde/kde/build/kdevelop | 2 | ||||
-rwxr-xr-x | source/l/qt5/qt5.SlackBuild | 2 | ||||
-rwxr-xr-x | source/l/qt6/qt6.SlackBuild | 2 | ||||
-rwxr-xr-x | source/n/gnupg2/gnupg2.SlackBuild | 2 | ||||
-rwxr-xr-x | source/x/mesa/mesa.SlackBuild | 2 |
19 files changed, 79 insertions, 315 deletions
diff --git a/source/ap/ghostscript/9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa.patch b/source/ap/ghostscript/9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa.patch deleted file mode 100644 index 352dbd866..000000000 --- a/source/ap/ghostscript/9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa Mon Sep 17 00:00:00 2001 -From: Ken Sharp <Ken.Sharp@artifex.com> -Date: Mon, 18 Sep 2023 15:47:12 +0100 -Subject: [PATCH] PDF interpreter - fix PageList processing - -Bug #707137 "Error processing PDF while using the parameter -sPageList" - -There are actually 2 problems; firstly a copy/paste error of the -operand stack index when returning the page list meant that the values -were returned in reverse order. - -Secondly the PageList string wasn't actually being passed as an operand -at all. - -This only affects the PDF interpreter because it (unfortunately) uses a -different mechanism from the PostScript interpreter. ---- - Resource/Init/pdf_main.ps | 3 +-- - psi/zpdfops.c | 2 +- - 2 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/Resource/Init/pdf_main.ps b/Resource/Init/pdf_main.ps -index e541835ae..73097f1a7 100644 ---- a/Resource/Init/pdf_main.ps -+++ b/Resource/Init/pdf_main.ps -@@ -710,8 +710,7 @@ currentdict /PDFSwitches undef - { - /PageList where { - pop -- pdfpagecount -- .PDFparsePageList -+ PageList pdfpagecount .PDFparsePageList - dup 0 eq { % No ranges, error - (\n **** Error: Invalid PageList: ) print - PageList print -diff --git a/psi/zpdfops.c b/psi/zpdfops.c -index 207130f1a..e7e0a42ee 100644 ---- a/psi/zpdfops.c -+++ b/psi/zpdfops.c -@@ -1447,7 +1447,7 @@ static int zPDFparsePageList(i_ctx_t *i_ctx_p) - } - /* push the even/odd, start, end triples on the stack */ - for (i=0; i < size; i++) { -- o = ref_stack_index(&o_stack, 0); -+ o = ref_stack_index(&o_stack, size - i); - if (o == NULL) - return_error(gs_error_stackunderflow); - /* skip the initial "ordered" flag */ --- -2.34.1 - - diff --git a/source/ap/ghostscript/ghostscript.SlackBuild b/source/ap/ghostscript/ghostscript.SlackBuild index aff004278..af557de3e 100755 --- a/source/ap/ghostscript/ghostscript.SlackBuild +++ b/source/ap/ghostscript/ghostscript.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2018, 2021, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ if [ -r gnu-ghostscript-*.tar.?z ]; then SRCPREFIX="gnu-" fi VERSION=${VERSION:-$(echo $SRCPREFIX$PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -76,9 +76,6 @@ cd ${SRCPREFIX}${PKGNAM}-$VERSION || exit 1 # Remove unmaintained garbage: rm -rf freetype jpeg lcms2 libpng libtiff png tiff zlib -# Fix PDF interpreter: -cat $CWD/9b6fe6e1008f1b9b7fc3109b5f94db8d970fbcaa.patch | patch -p1 --verbose || exit 1 - # Regenerate ./configure. Needed if patched, or to prevent libtool mismatch. autoreconf --force --install ( cd jbig2dec ; autoreconf --force --install ) diff --git a/source/ap/ghostscript/ghostscript.url b/source/ap/ghostscript/ghostscript.url index 3c991552a..12b9848de 100644 --- a/source/ap/ghostscript/ghostscript.url +++ b/source/ap/ghostscript/ghostscript.url @@ -1,2 +1,2 @@ https://github.com/ArtifexSoftware/ghostpdl-downloads -https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-10.02.1.tar.xz +https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10030/ghostscript-10.03.0.tar.xz diff --git a/source/ap/lxc/lxc-slackware.in b/source/ap/lxc/lxc-slackware.in index ba7d04826..422fa1d82 100644 --- a/source/ap/lxc/lxc-slackware.in +++ b/source/ap/lxc/lxc-slackware.in @@ -255,7 +255,7 @@ etc eudev findutils gawk -gnupg +gnupg2 gnutls grep gzip diff --git a/source/ap/lxc/lxc.SlackBuild b/source/ap/lxc/lxc.SlackBuild index 6f28818ca..69951be5f 100755 --- a/source/ap/lxc/lxc.SlackBuild +++ b/source/ap/lxc/lxc.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=lxc VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | rev | cut -f 2- -d -)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/ap/slackpkg/files/core-functions.sh b/source/ap/slackpkg/files/core-functions.sh index 824547867..ede3d3f42 100644 --- a/source/ap/slackpkg/files/core-functions.sh +++ b/source/ap/slackpkg/files/core-functions.sh @@ -371,11 +371,11 @@ as slackpkg cannot function without awk.\n" # Check if gpg is enabled but no GPG command are found. # - if ! [ "$(which gpg 2>/dev/null)" ] && [ "${CHECKGPG}" = "on" ]; then + if ! [ "$(which gpg2 2>/dev/null)" ] && [ "${CHECKGPG}" = "on" ]; then CHECKGPG=off echo -e "\n\ gpg package not found! Please disable GPG in ${CONF}/slackpkg.conf or install\n\ -the gnupg package.\n\n\ +the gnupg2 package.\n\n\ To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG \n\ variable to "off" - you can see an example in the original slackpkg.conf.new\n\ file distributed with slackpkg.\n" @@ -384,7 +384,7 @@ file distributed with slackpkg.\n" # Check if the Slackware GPG key are found in the system # - GPGFIRSTTIME="$(gpg --list-keys \"$SLACKKEY\" 2>/dev/null \ + GPGFIRSTTIME="$(gpg2 --list-keys \"$SLACKKEY\" 2>/dev/null \ | grep -c "$SLACKKEY")" if [ "$GPGFIRSTTIME" = "0" ] && \ [ "$CMD" != "search" ] && \ @@ -546,7 +546,7 @@ function checkmd5() { # Verify the GPG signature of files/packages # function checkgpg() { - gpg --verify ${1}.asc ${1} 2>/dev/null && echo "1" || echo "0" + gpg2 --verify ${1}.asc ${1} 2>/dev/null && echo "1" || echo "0" } # Fetch $SLACKKEY from a trusted source @@ -585,8 +585,8 @@ Do you want to import the GPG key from this source? (YES|NO)\n" # Import $SLACKKEY function import_gpg_key() { mkdir -p ~/.gnupg - gpg --yes --batch --delete-key "$SLACKKEY" &>/dev/null - gpg --import $TMPDIR/gpgkey &>/dev/null && \ + gpg2 --yes --batch --delete-key "$SLACKKEY" &>/dev/null + gpg2 --import $TMPDIR/gpgkey &>/dev/null && \ echo -e "\t\t\tSlackware Linux Project's GPG key added" } @@ -1133,7 +1133,7 @@ Please check your mirror and try again." rm $TMPDIR/CHECKSUMS.md5 rm $TMPDIR/CHECKSUMS.md5.asc echo -e "\ -\n\t\tERROR: Verification of the gpg signature on CHECKSUMS.md5\n\ +\n\t\tERROR: Verification of the gpg signature on CHECKSUMS.md5\n\ \t\t failed! This could mean that the file is out of date\n\ \t\t or has been tampered with. If you use mirrors.slackware.com\n\ \t\t as your mirror, this could also mean that the mirror to\n\ diff --git a/source/ap/slackpkg/slackpkg.SlackBuild b/source/ap/slackpkg/slackpkg.SlackBuild index 78c1ab0d9..eab285bb4 100755 --- a/source/ap/slackpkg/slackpkg.SlackBuild +++ b/source/ap/slackpkg/slackpkg.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=slackpkg VERSION=${VERSION:-15.0.10} ARCH="noarch" -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild index 2c7ab2f51..c5d011f8d 100755 --- a/source/d/git/git.SlackBuild +++ b/source/d/git/git.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2016, 2018, 2020, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=git VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -119,6 +119,18 @@ make \ install-doc \ DESTDIR=$PKG || exit 1 +# Add git-subtree: +make -C contrib/subtree \ + prefix=/usr \ + mandir=/usr/man \ + "CFLAGS=$SLKCFLAGS" \ + INSTALLDIRS=vendor \ + ASCIIDOC8=YesPlease \ + USE_LIBPCRE2=YesPlease \ + install \ + install-doc \ + DESTDIR=$PKG || exit 1 + mv $PKG/usr/share/man/man3 $PKG/usr/man rmdir $PKG/usr/share/man diff --git a/source/d/llvm/clang.toolchains.i586.triple.diff b/source/d/llvm/clang.toolchains.i586.triple.diff index e51f3cd52..71497bf5f 100644 --- a/source/d/llvm/clang.toolchains.i586.triple.diff +++ b/source/d/llvm/clang.toolchains.i586.triple.diff @@ -1,10 +1,10 @@ ---- ./tools/clang/lib/Driver/ToolChains/Gnu.cpp.orig 2022-04-25 22:44:44.000000000 -0500 -+++ ./tools/clang/lib/Driver/ToolChains/Gnu.cpp 2022-04-28 13:34:46.834049926 -0500 -@@ -2107,6 +2107,7 @@ +--- ./tools/clang/lib/Driver/ToolChains/Gnu.cpp.orig 2024-03-06 13:59:35.328900971 -0600 ++++ ./tools/clang/lib/Driver/ToolChains/Gnu.cpp 2024-03-06 14:02:01.218892901 -0600 +@@ -2490,6 +2490,7 @@ static const char *const X86Triples[] = { "i586-linux-gnu", "i686-linux-gnu", "i686-pc-linux-gnu", "i386-redhat-linux6E", "i686-redhat-linux", "i386-redhat-linux", + "i586-slackware-linux", "i686-slackware-linux", - "i586-suse-linux", "i686-montavista-linux", "i686-gnu", + "i586-suse-linux", "i686-montavista-linux", }; diff --git a/source/d/llvm/llvm.SlackBuild b/source/d/llvm/llvm.SlackBuild index f285bf332..5ed30e9d1 100755 --- a/source/d/llvm/llvm.SlackBuild +++ b/source/d/llvm/llvm.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for llvm # Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -99,13 +99,6 @@ PY2=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_pytho # Python3 short version: PY3=$(python3 -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' | cut -f 2 -d n | cut -f 1 -d /) -# Sadly, glibc-2.30 exposed some sort of problem with clang and icecream. -# The symptom is a compile failure that says none of the types in -# <linux/types.h> are defined, even though they are. gcc/g++ seem unaffected. -# For now, not much choice other than to disable this. -# Don't use icecream: -#PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g") - rm -rf $PKG $BUILDDIR mkdir -p $TMP $PKG $BUILDDIR cd $BUILDDIR @@ -123,6 +116,10 @@ mv cmake-$VERSION.src cmake echo "Extracting $CWD/third-party-$VERSION.src.tar.xz..." tar xf $CWD/third-party-$VERSION.src.tar.xz || exit 1 mv third-party-$VERSION.src third-party +echo "Extracting $CWD/runtimes-$VERSION.src.tar.xz..." +tar xf $CWD/runtimes-$VERSION.src.tar.xz || exit 1 +mv runtimes-${VERSION}.src/cmake/Modules/* cmake/Modules || exit 1 +rm -r runtimes-${VERSION}.src rm -rf $PKGNAM-${VERSION}.src $PKGNAM-${VERSION} echo "Extracting $CWD/$PKGNAM-$VERSION.src.tar.xz..." @@ -182,9 +179,8 @@ if [ -f ./tools/lldb/source/Utility/CMakeLists.txt ]; then fi fi -# These files are not present for some reason, but they were found in a git -# pull of the entire project: -cp -a $CWD/missing-runtime-modules/*.cmake ../cmake/Modules/ +# Oops, the rc tag was left in with the 18.1.0 release: +zcat $CWD/llvm.wrong.LLVM_LIBDIR_SUFFIX.patch.gz | patch -p1 --verbose || exit 1 # These hackish links seem to be required... cd .. @@ -243,6 +239,7 @@ cd build -DCOMPILER_RT_BUILD_LIBFUZZER=OFF \ -DCLANG_DEFAULT_PIE_ON_LINUX=ON \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON \ + -DLIBCXXABI_USE_LLVM_UNWINDER=OFF \ $CLANGD \ .. || exit 1 @@ -288,12 +285,15 @@ python3 -m compileall "$PKG/usr/lib$LIBDIRSUFFIX/python${PY3}/site-packages/clan python3 -O -m compileall "$PKG/usr/lib$LIBDIRSUFFIX/python${PY3}/site-packages/clang" python -m compileall "$PKG/usr/lib$LIBDIRSUFFIX/python${PY2}/site-packages/lldb" python -O -m compileall "$PKG/usr/lib$LIBDIRSUFFIX/python${PY2}/site-packages/lldb" -python -m compileall "$PKG/usr/share/scan-view" -python -O -m compileall "$PKG/usr/share/scan-view" -python -m compileall "$PKG/usr/share/clang" -python -O -m compileall "$PKG/usr/share/clang" -python -m compileall "$PKG/usr/share/opt-viewer" -python -O -m compileall "$PKG/usr/share/opt-viewer" +python3 -m compileall "$PKG/usr/share/scan-view" +python3 -O -m compileall "$PKG/usr/share/scan-view" +python3 -m compileall "$PKG/usr/share/clang" +python3 -O -m compileall "$PKG/usr/share/clang" +python3 -m compileall "$PKG/usr/share/opt-viewer" +python3 -O -m compileall "$PKG/usr/share/opt-viewer" + +# Nevermind, we're not shipping this python2 crap: +rm -rf $PKG/usr/lib$LIBDIRSUFFIX/python${PY2} # Move man page directory: mv $PKG/usr/share/man $PKG/usr/ diff --git a/source/d/llvm/llvm.url b/source/d/llvm/llvm.url index 89a3e3aba..52c7d8076 100644 --- a/source/d/llvm/llvm.url +++ b/source/d/llvm/llvm.url @@ -1,29 +1,15 @@ -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/llvm-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/clang-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/clang-tools-extra-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/compiler-rt-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/flang-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/lldb-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/openmp-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/polly-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/libcxx-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/libcxxabi-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/lld-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/libunwind-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/cmake-17.0.6.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/third-party-17.0.6.src.tar.xz - -#http://llvm.org/releases/17.0.6/llvm-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/clang-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/clang-tools-extra-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/compiler-rt-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/flang-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/lldb-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/openmp-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/polly-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/libcxx-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/libcxxabi-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/lld-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/libunwind-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/cmake-17.0.6.src.tar.xz -#http://llvm.org/releases/17.0.6/third-party-17.0.6.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/llvm-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/clang-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/clang-tools-extra-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/compiler-rt-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/flang-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/lldb-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/openmp-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/polly-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/libcxx-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/libcxxabi-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/lld-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/libunwind-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/cmake-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/third-party-18.1.0.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.0/runtimes-18.1.0.src.tar.xz diff --git a/source/d/llvm/llvm.wrong.LLVM_LIBDIR_SUFFIX.patch b/source/d/llvm/llvm.wrong.LLVM_LIBDIR_SUFFIX.patch new file mode 100644 index 000000000..68875b247 --- /dev/null +++ b/source/d/llvm/llvm.wrong.LLVM_LIBDIR_SUFFIX.patch @@ -0,0 +1,11 @@ +--- ./CMakeLists.txt.orig 2024-02-27 11:18:54.000000000 -0600 ++++ ./CMakeLists.txt 2024-03-06 17:58:39.012200994 -0600 +@@ -25,7 +25,7 @@ + set(LLVM_VERSION_PATCH 0) + endif() + if(NOT DEFINED LLVM_VERSION_SUFFIX) +- set(LLVM_VERSION_SUFFIX rc) ++ set(LLVM_VERSION_SUFFIX) + endif() + + if (NOT PACKAGE_VERSION) diff --git a/source/d/llvm/missing-runtime-modules/HandleFlags.cmake b/source/d/llvm/missing-runtime-modules/HandleFlags.cmake deleted file mode 100644 index 4a62b6716..000000000 --- a/source/d/llvm/missing-runtime-modules/HandleFlags.cmake +++ /dev/null @@ -1,113 +0,0 @@ - -include(CheckCXXCompilerFlag) - -unset(add_flag_if_supported) - -# Mangle the name of a compiler flag into a valid CMake identifier. -# Ex: --std=c++11 -> STD_EQ_CXX11 -macro(mangle_name str output) - string(STRIP "${str}" strippedStr) - string(REGEX REPLACE "^/" "" strippedStr "${strippedStr}") - string(REGEX REPLACE "^-+" "" strippedStr "${strippedStr}") - string(REGEX REPLACE "-+$" "" strippedStr "${strippedStr}") - string(REPLACE "-" "_" strippedStr "${strippedStr}") - string(REPLACE "=" "_EQ_" strippedStr "${strippedStr}") - string(REPLACE "+" "X" strippedStr "${strippedStr}") - string(TOUPPER "${strippedStr}" ${output}) -endmacro() - -# Remove a list of flags from all CMake variables that affect compile flags. -# This can be used to remove unwanted flags specified on the command line -# or added in other parts of LLVM's cmake configuration. -macro(remove_flags) - foreach(var ${ARGN}) - string(REPLACE "${var}" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") - string(REPLACE "${var}" "" CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL}") - string(REPLACE "${var}" "" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") - string(REPLACE "${var}" "" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") - string(REPLACE "${var}" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - string(REPLACE "${var}" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - string(REPLACE "${var}" "" CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") - string(REPLACE "${var}" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}") - string(REPLACE "${var}" "" CMAKE_SHARED_MODULE_FLAGS "${CMAKE_SHARED_MODULE_FLAGS}") - remove_definitions(${var}) - endforeach() -endmacro(remove_flags) - -macro(check_flag_supported flag) - mangle_name("${flag}" flagname) - check_cxx_compiler_flag("${flag}" "CXX_SUPPORTS_${flagname}_FLAG") -endmacro() - -macro(append_flags DEST) - foreach(value ${ARGN}) - list(APPEND ${DEST} ${value}) - list(APPEND ${DEST} ${value}) - endforeach() -endmacro() - -# If the specified 'condition' is true then append the specified list of flags to DEST -macro(append_flags_if condition DEST) - if (${condition}) - list(APPEND ${DEST} ${ARGN}) - endif() -endmacro() - -# Add each flag in the list specified by DEST if that flag is supported by the current compiler. -macro(append_flags_if_supported DEST) - foreach(flag ${ARGN}) - mangle_name("${flag}" flagname) - check_cxx_compiler_flag("${flag}" "CXX_SUPPORTS_${flagname}_FLAG") - append_flags_if(CXX_SUPPORTS_${flagname}_FLAG ${DEST} ${flag}) - endforeach() -endmacro() - -# Add a macro definition if condition is true. -macro(define_if condition def) - if (${condition}) - add_definitions(${def}) - endif() -endmacro() - -# Add a macro definition if condition is not true. -macro(define_if_not condition def) - if (NOT ${condition}) - add_definitions(${def}) - endif() -endmacro() - -# Add a macro definition to the __config_site file if the specified condition -# is 'true'. Note that '-D${def}' is not added. Instead it is expected that -# the build include the '__config_site' header. -macro(config_define_if condition def) - if (${condition}) - set(${def} ON) - endif() -endmacro() - -macro(config_define_if_not condition def) - if (NOT ${condition}) - set(${def} ON) - endif() -endmacro() - -macro(config_define value def) - set(${def} ${value}) -endmacro() - -# Turn a comma separated CMake list into a space separated string. -macro(split_list listname) - string(REPLACE ";" " " ${listname} "${${listname}}") -endmacro() - -# For each specified flag, add that compile flag to the provided target. -# The flags are added with the given visibility, i.e. PUBLIC|PRIVATE|INTERFACE. -function(target_add_compile_flags_if_supported target visibility) - foreach(flag ${ARGN}) - mangle_name("${flag}" flagname) - check_cxx_compiler_flag("${flag}" "CXX_SUPPORTS_${flagname}_FLAG") - if (CXX_SUPPORTS_${flagname}_FLAG) - target_compile_options(${target} ${visibility} ${flag}) - endif() - endforeach() -endfunction() diff --git a/source/d/llvm/missing-runtime-modules/WarningFlags.cmake b/source/d/llvm/missing-runtime-modules/WarningFlags.cmake deleted file mode 100644 index d06409841..000000000 --- a/source/d/llvm/missing-runtime-modules/WarningFlags.cmake +++ /dev/null @@ -1,77 +0,0 @@ -include(HandleFlags) - -# Warning flags =============================================================== -function(cxx_add_warning_flags target enable_werror enable_pedantic) - target_compile_definitions(${target} PUBLIC -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) - if (MSVC) - # -W4 is the cl.exe/clang-cl equivalent of -Wall. (In cl.exe and clang-cl, - # -Wall is equivalent to -Weverything in GCC style compiler drivers.) - target_add_compile_flags_if_supported(${target} PRIVATE -W4) - else() - target_add_compile_flags_if_supported(${target} PRIVATE -Wall) - endif() - # TODO: Should -Wconversion be enabled? - target_add_compile_flags_if_supported(${target} PRIVATE - -Wextra - -Wnewline-eof - -Wshadow - -Wwrite-strings - -Wno-unused-parameter - -Wno-long-long - -Werror=return-type - -Wextra-semi - -Wundef - -Wunused-template - -Wformat-nonliteral - ) - - if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") - target_add_compile_flags_if_supported(${target} PRIVATE - -Wno-user-defined-literals - -Wno-covered-switch-default - -Wno-suggest-override - ) - if (LIBCXX_TARGETING_CLANG_CL) - target_add_compile_flags_if_supported(${target} PRIVATE - -Wno-c++98-compat - -Wno-c++98-compat-pedantic - -Wno-c++11-compat - -Wno-undef - -Wno-reserved-id-macro - -Wno-gnu-include-next - -Wno-gcc-compat # For ignoring "'diagnose_if' is a clang extension" warnings - -Wno-zero-as-null-pointer-constant # FIXME: Remove this and fix all occurrences. - -Wno-deprecated-dynamic-exception-spec # For auto_ptr - -Wno-sign-conversion - -Wno-old-style-cast - -Wno-deprecated # FIXME: Remove this and fix all occurrences. - -Wno-shift-sign-overflow # FIXME: Why do we need this with clang-cl but not clang? - -Wno-double-promotion # FIXME: remove me - ) - endif() - - elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") - - target_add_compile_flags_if_supported(${target} PRIVATE - -Wstrict-aliasing=2 - -Wstrict-overflow=4 - -Wno-attributes - -Wno-literal-suffix - -Wno-c++14-compat - -Wno-noexcept-type - -Wno-suggest-override - ) - - endif() - if (${enable_werror}) - target_add_compile_flags_if_supported(${target} PRIVATE -Werror) - target_add_compile_flags_if_supported(${target} PRIVATE -WX) - else() - # TODO(EricWF) Remove this. We shouldn't be suppressing errors when -Werror is - # added elsewhere. - target_add_compile_flags_if_supported(${target} PRIVATE -Wno-error) - endif() - if (${enable_pedantic}) - target_add_compile_flags_if_supported(${target} PRIVATE -pedantic) - endif() -endfunction() diff --git a/source/kde/kde/build/kdevelop b/source/kde/kde/build/kdevelop index d00491fd7..0cfbf0888 100644 --- a/source/kde/kde/build/kdevelop +++ b/source/kde/kde/build/kdevelop @@ -1 +1 @@ -1 +2 diff --git a/source/l/qt5/qt5.SlackBuild b/source/l/qt5/qt5.SlackBuild index e99b99a97..385b0841e 100755 --- a/source/l/qt5/qt5.SlackBuild +++ b/source/l/qt5/qt5.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=qt5 VERSION=$(ls qt-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) -BUILD=${BUILD:-4} +BUILD=${BUILD:-1} PKGSRC=$(echo $VERSION | cut -d - -f 1) PKGVER=$(echo $VERSION | tr - _) diff --git a/source/l/qt6/qt6.SlackBuild b/source/l/qt6/qt6.SlackBuild index 47327bf94..761cdaf3e 100755 --- a/source/l/qt6/qt6.SlackBuild +++ b/source/l/qt6/qt6.SlackBuild @@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=qt6 VERSION=$(ls qt-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev) -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} PKGSRC=$(echo $VERSION | cut -d - -f 1) PKGVER=$(echo $VERSION | tr - _) diff --git a/source/n/gnupg2/gnupg2.SlackBuild b/source/n/gnupg2/gnupg2.SlackBuild index 03b713e07..797a58b24 100755 --- a/source/n/gnupg2/gnupg2.SlackBuild +++ b/source/n/gnupg2/gnupg2.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gnupg2 VERSION=${VERSION:-$(echo gnupg-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild index d36d456b9..1533f8bcc 100755 --- a/source/x/mesa/mesa.SlackBuild +++ b/source/x/mesa/mesa.SlackBuild @@ -26,7 +26,7 @@ PKGNAM=mesa VERSION=${VERSION:-$(echo $PKGNAM-[0-9]*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d -)} AMBERVERS=${AMBERVERS:-21.3.9} DEMOVERS=${DEMOVERS:-8.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} BUILD_AMBER=${BUILD_AMBER:-YES} BUILD_DEMOS=${BUILD_DEMOS:-YES} CODECS=${CODECS:-h264dec,h264enc,h265dec,h265enc,vc1dec,av1dec,av1enc,vp9dec} |