diff options
author | Sam James <sam@gentoo.org> | 2023-01-22 05:07:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-22 05:07:29 +0000 |
commit | 53d9166b00b865e09ca09090e400985c2e3540a1 (patch) | |
tree | 6064a835fc798493119260bf369aa903e4ab15ab /dev-cpp | |
parent | app-emulation/qemu: update min versions in live (diff) | |
download | gentoo-53d9166b00b865e09ca09090e400985c2e3540a1.tar.gz gentoo-53d9166b00b865e09ca09090e400985c2e3540a1.tar.bz2 gentoo-53d9166b00b865e09ca09090e400985c2e3540a1.zip |
dev-cpp/folly: update patch to upstream variant
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/folly/files/folly-2023.01.16.00-gcc13.patch | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/dev-cpp/folly/files/folly-2023.01.16.00-gcc13.patch b/dev-cpp/folly/files/folly-2023.01.16.00-gcc13.patch index 0fed0efeb505..6779274d2fa1 100644 --- a/dev-cpp/folly/files/folly-2023.01.16.00-gcc13.patch +++ b/dev-cpp/folly/files/folly-2023.01.16.00-gcc13.patch @@ -1,23 +1,24 @@ +https://github.com/facebook/folly/pull/1922 + +From e3cba5dd4f59c695d9cbf6bd02249af7103cc300 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 22 Jan 2023 05:06:16 +0000 +Subject: [PATCH] Fix build with GCC 13 (add missing includes) + +GCC 13 (as usual for new compiler releases) shuffles around some +internal includes and so <stdexcept> etc is no longer transitively included. + +Signed-off-by: Sam James <sam@gentoo.org> --- a/folly/system/AtFork.cpp +++ b/folly/system/AtFork.cpp -@@ -14,6 +14,8 @@ +@@ -14,6 +14,9 @@ * limitations under the License. */ +#include <stdexcept> ++#include <system_error> + #include <folly/system/AtFork.h> #include <folly/ScopeGuard.h> -diff --git a/folly/system/AtFork.cpp b/folly/system/AtFork.cpp -index be613c7..a557033 100644 ---- a/folly/system/AtFork.cpp -+++ b/folly/system/AtFork.cpp -@@ -15,6 +15,7 @@ - */ - - #include <stdexcept> -+#include <system_error> - - #include <folly/system/AtFork.h> - + |