diff options
author | Eric Hameleers <alien@slackware.com> | 2014-10-24 23:20:37 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-10-24 23:20:37 +0000 |
commit | a1ae27615fcc29bede157175e90f8465be13b276 (patch) | |
tree | 0bf55d8172e1a0457348b857433cc7bd1952a2eb | |
parent | 1768b78f22ec1a7dcbb1fcfe6d7d26f0e37cf9fc (diff) | |
download | multilib-a1ae27615fcc29bede157175e90f8465be13b276.tar.gz multilib-a1ae27615fcc29bede157175e90f8465be13b276.tar.xz |
Patch GCC Bug 61801, which caused issues with glibc 2.20
-rwxr-xr-x | current/gcc/gcc-multilib.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/current/gcc/gcc-multilib.SlackBuild b/current/gcc/gcc-multilib.SlackBuild index 0301b6a..6215724 100755 --- a/current/gcc/gcc-multilib.SlackBuild +++ b/current/gcc/gcc-multilib.SlackBuild @@ -46,7 +46,7 @@ PKGNAM=gcc VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1alien} +BUILD=${BUILD:-2alien} # How many jobs to run in parallel: NUMJOBS=" -j7 " @@ -151,9 +151,10 @@ cat $CWD/slack-desc.gcc-go > $PKG8/install/slack-desc cd $TMP tar xvf $CWD/gcc-$VERSION.tar.?z* -#( cd gcc-$VERSION -# If we had any patches, we would apply them here, but we're .diff free now. -#) || exit 1 +# Apply patches: +( cd gcc-$VERSION + zcat $CWD/gcc.pr61801.diff.gz | patch -p1 --verbose || exit 1 +) || exit 1 # Copy ecj.jar into the TLD of the source. Needed for java compiler. # This can be retrieved from ftp://sourceware.org/pub/java |