From 934ec4aeeba63f07817751f2b94f5a2465daa84d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 21 Feb 2022 02:41:03 -0600 Subject: academic/chemtool: Fix build failure with gcc10. --- academic/chemtool/chemtool.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'academic/chemtool/chemtool.SlackBuild') 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 \ -- cgit v1.2.3-79-gdb01