diff options
author | Garrett Brown <themagnificentmrb@gmail.com> | 2024-02-01 13:34:33 -0800 |
---|---|---|
committer | Garrett Brown <themagnificentmrb@gmail.com> | 2024-02-02 10:45:32 -0800 |
commit | 130bf75a0d5753a97640ca891600cbf83e0a6430 (patch) | |
tree | bee360f492fc98744aefd0b1e855ab4d77e8ca00 /tools | |
parent | c9d5b67b218301e055689da233cf68a2fa05a655 (diff) |
tools/depends: Update waylandpp patch to fix build again with gcc 13
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/waylandpp/001-fix-gcc13-build.patch | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tools/depends/target/waylandpp/001-fix-gcc13-build.patch b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch index c440c1141e..0cfcfc07e5 100644 --- a/tools/depends/target/waylandpp/001-fix-gcc13-build.patch +++ b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch @@ -8,7 +8,16 @@ #include <wayland-version.hpp> #include <wayland-client-core.h> #include <wayland-util.hpp> - +--- a/include/wayland-server.hpp ++++ b/include/wayland-server.hpp +@@ -27,6 +27,7 @@ + #define WAYLAND_SERVER_HPP + + #include <atomic> ++#include <cstdint> + #include <functional> + #include <list> + #include <memory> --- a/scanner/scanner.cpp +++ b/scanner/scanner.cpp @@ -24,6 +24,7 @@ @@ -16,13 +25,13 @@ #include <cmath> #include <stdexcept> +#include <cstdint> - + #include "pugixml.hpp" - -@@ -928,6 +929,7 @@ + +@@ -1110,6 +1111,7 @@ int main(int argc, char *argv[]) << "#include <memory>" << std::endl << "#include <string>" << std::endl << "#include <vector>" << std::endl + << "#include <cstdint>" << std::endl << std::endl - << "#include <wayland-client.hpp>" << std::endl; + << (server ? "#include <wayland-server.hpp>" : "#include <wayland-client.hpp>") << std::endl; |