summaryrefslogtreecommitdiffstats
path: root/academic/chemtool/chemtool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/chemtool/chemtool.SlackBuild')
-rw-r--r--academic/chemtool/chemtool.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild
index a05d93d3f9..975235e59a 100644
--- a/academic/chemtool/chemtool.SlackBuild
+++ b/academic/chemtool/chemtool.SlackBuild
@@ -79,6 +79,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Thanks, Debian
+# https://salsa.debian.org/debichem-team/chemtool/-/blob/7d0413fe4f5bce35fe9c16fd196758319df05442/debian/patches/957084_gcc10.patch
+patch -p1 < $CWD/gcc10.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \