Skip to content

Commit

Permalink
Add patch to fix building rust 1.25.x and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
aclemons committed Jun 22, 2018
1 parent 68df5d5 commit f2aecee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust/rust.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ if [ "$LOCAL_BOOTSTRAP" = "yes" ] ; then
sed -i "s|^\(extended = true\)$|\1\nrustc = \"/usr/bin/rustc\"\ncargo = \"/usr/bin/cargo\"|" config.toml
fi


if [ "$ARCH" = "x86_64" ] && [ "$LOCAL_BOOTSTRAP" = "yes" ] && [ "$(echo "$VERSION" | cut -d. -f 1)" -eq 1 ] && [ "$(echo "$VERSION" | cut -d. -f 2)" -gt 24 ] ; then
zcat $CWD/slackware64_local_bootstrap.diff.gz | patch -p1 --verbose || exit 1
fi

chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
Expand Down
Binary file added rust/slackware64_local_bootstrap.diff.gz
Binary file not shown.

0 comments on commit f2aecee

Please sign in to comment.