diff options
Diffstat (limited to 'system/sbbdep')
-rw-r--r-- | system/sbbdep/gcc11.patch | 11 | ||||
-rw-r--r-- | system/sbbdep/sbbdep.SlackBuild | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/system/sbbdep/gcc11.patch b/system/sbbdep/gcc11.patch new file mode 100644 index 0000000000..0211711e83 --- /dev/null +++ b/system/sbbdep/gcc11.patch @@ -0,0 +1,11 @@ +--- libsl3/src/sl3/value.cpp 2017-08-05 14:01:24.000000000 -0400 ++++ libsl3/src/sl3/value.cpp.new 2022-01-19 21:38:19.648276809 -0500 +@@ -10,6 +10,8 @@ + #include <sl3/value.hpp> + + #include <algorithm> ++#include <stdexcept> ++#include <limits> + #include <climits> + #include <cmath> + #include <iomanip> diff --git a/system/sbbdep/sbbdep.SlackBuild b/system/sbbdep/sbbdep.SlackBuild index 3b28e89c60..8ccbf189bb 100644 --- a/system/sbbdep/sbbdep.SlackBuild +++ b/system/sbbdep/sbbdep.SlackBuild @@ -86,6 +86,8 @@ 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 {} \; +# Fix issue with gcc 11+ +patch -p0 < $CWD/gcc11.patch mkdir -p build cd build |