diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2019-04-19 11:13:46 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-18 12:22:53 +0200 |
commit | 2013e5118760355a026dca6ffba5efb636118a2c (patch) | |
tree | eb1afc64bde8950cb7db1f1133a5d867b65f1950 /development/gcc5/gcc5.SlackBuild | |
parent | c6761b739a8096dffbddfb8ef580a9ee204652ff (diff) |
development/gcc5: Patch for glibc-2.28.
Credit goes to luvr on LQ
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gcc5/gcc5.SlackBuild')
-rw-r--r-- | development/gcc5/gcc5.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild index 7054b3184f..f9a03116c5 100644 --- a/development/gcc5/gcc5.SlackBuild +++ b/development/gcc5/gcc5.SlackBuild @@ -57,7 +57,7 @@ PRGNAM=gcc5 VERSION=${VERSION:-5.5.0} MAJVER=$(echo ${VERSION} |cut -d. -f1) BUILD=${BUILD:-1} -TAG=${TAG:-SBo} +TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -195,6 +195,9 @@ ANTLJAR=$(echo $CWD/antlr-*.jar | tail -1) cat $CWD/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff | patch -p2 --verbose || exit 1 cat $CWD/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff | patch -p2 --verbose || exit 1 + # Fix build with glibc 2.28, which no longer makes available header file <sys/ustat.h> + cat $CWD/patches/glibc2.28-ustat.diff | patch -p0 --verbose || exit 1 + # Fix perms/owners chown -R root:root . find . -perm 777 -exec chmod 755 {} \; @@ -434,7 +437,7 @@ fi if [ ${MULTILIB} = "NO" ]; then # Make our 64bit gcc look for 32bit gcc binaries in ./32 subdirectory: - (only needed if gcc was compiled with disable-multilib) + # (only needed if gcc was compiled with disable-multilib) if [ "$ARCH" = "x86_64" ]; then sed -i 's#;.\(:../lib !m64 m32;\)$#;32\1#' \ $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs |