summaryrefslogtreecommitdiffstats
path: root/system/foremost/foremost.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/foremost/foremost.SlackBuild')
-rw-r--r--system/foremost/foremost.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/foremost/foremost.SlackBuild b/system/foremost/foremost.SlackBuild
index 7f34e6338c..890df080a0 100644
--- a/system/foremost/foremost.SlackBuild
+++ b/system/foremost/foremost.SlackBuild
@@ -46,6 +46,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/gcc10.patch
+
# Set the $ARCH variable for the Makefile.
sed -i "s|-O2|$SLKCFLAGS|" Makefile
# Set location of configuration file.