From d6399c6d7f45a6ebd9ffdd3614867afbb9abcb36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giancarlo=20Dess=C3=AC?= Date: Thu, 20 Jan 2022 08:30:14 +0100 Subject: system/sbbdep: Patch for gcc >= 11.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- system/sbbdep/gcc11.patch | 11 +++++++++++ system/sbbdep/sbbdep.SlackBuild | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 system/sbbdep/gcc11.patch (limited to 'system') 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 + + #include ++#include ++#include + #include + #include + #include 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 -- cgit v1.2.3