diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2024-02-12 20:58:46 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2024-02-12 22:59:33 +0100 |
commit | adcf8dd38215601024979abcee28b82997193788 (patch) | |
tree | ac75c8fa399977e857a46fb2b42bf2d7015cbaab /source/d/gcc/gcc.SlackBuild | |
parent | 8f1367463b7818a6e0ae4f53f705fd86a8717d5c (diff) | |
download | current-adcf8dd38215601024979abcee28b82997193788.tar.gz current-adcf8dd38215601024979abcee28b82997193788.tar.xz |
Mon Feb 12 20:58:46 UTC 202420240212205846
a/procps-ng-4.0.4-x86_64-1.txz: Upgraded.
a/shadow-4.14.4-x86_64-1.txz: Upgraded.
ap/man-pages-6.06-noarch-1.txz: Upgraded.
ap/vim-9.1.0098-x86_64-1.txz: Upgraded.
d/libgccjit-13.2.0-x86_64-1.txz: Added.
If we can ship GCC's D and Modula-2 support, then we can ship this.
We'll probably find a use for it. ;-)
Thanks to Didier Spaier for hints on the build script.
d/mercurial-6.6.3-x86_64-1.txz: Upgraded.
d/rust-1.76.0-x86_64-1.txz: Upgraded.
l/gegl-0.4.48-x86_64-1.txz: Upgraded.
l/openexr-3.2.2-x86_64-1.txz: Upgraded.
l/pango-1.51.2-x86_64-1.txz: Upgraded.
l/python-calver-2022.6.26-x86_64-1.txz: Added.
Needed for python-trove-classifiers. Thanks to lucabon.
n/openvpn-2.6.9-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.1.0098-x86_64-1.txz: Upgraded.
extra/rust-for-mozilla/rust-1.70.0-x86_64-4.txz: Added.
Let's move this here since it's lagging behind the latest Rust.
Diffstat (limited to 'source/d/gcc/gcc.SlackBuild')
-rwxr-xr-x | source/d/gcc/gcc.SlackBuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/source/d/gcc/gcc.SlackBuild b/source/d/gcc/gcc.SlackBuild index afeae0360..f4c17cdcc 100755 --- a/source/d/gcc/gcc.SlackBuild +++ b/source/d/gcc/gcc.SlackBuild @@ -2,7 +2,7 @@ # GCC package build script (written by volkerdi@slackware.com) # # Copyright 2003, 2004 Slackware Linux, Inc., Concord, California, USA -# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022, 2023, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -133,7 +133,8 @@ TMP=${TMP:-/tmp} # Extract the source code: cd $TMP rm -rf gcc-$SRCVER -tar xvf $CWD/gcc-$SRCVER.tar.?z || exit 1 +echo "Extracting $CWD/gcc-$SRCVER.tar.?z..." +tar xf $CWD/gcc-$SRCVER.tar.?z || exit 1 # This is the main DESTDIR target: PKG1=$TMP/package-gcc @@ -163,8 +164,17 @@ cat $CWD/slack-desc.gcc-gm2 > $PKG11/install/slack-desc cd gcc-$SRCVER || exit 1 -# Smite the fixincludes: -zcat $CWD/patches/gcc-no_fixincludes.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1 +# Apply any required patches: +for patch in $CWD/patches/*.patch $CWD/patches/*.diff ; do + if [ -r "$patch" ]; then + cat $patch | patch -p1 --verbose --backup --suffix=.orig || exit 1 + fi +done +for patch in $CWD/patches/*.patch.gz $CWD/patches/*.diff.gz ; do + if [ -r "$patch" ]; then + zcat $patch | patch -p1 --verbose --backup --suffix=.orig || exit 1 + fi +done # Fix perms/owners: chown -R root:root . |