diff options
Diffstat (limited to 'tools/depends/target/waylandpp')
-rw-r--r-- | tools/depends/target/waylandpp/001-fix-gcc13-build.patch | 28 | ||||
-rw-r--r-- | tools/depends/target/waylandpp/Makefile | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/tools/depends/target/waylandpp/001-fix-gcc13-build.patch b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch new file mode 100644 index 0000000000..c440c1141e --- /dev/null +++ b/tools/depends/target/waylandpp/001-fix-gcc13-build.patch @@ -0,0 +1,28 @@ +--- a/include/wayland-client.hpp ++++ b/include/wayland-client.hpp +@@ -33,6 +33,7 @@ + #include <memory> + #include <string> + #include <vector> ++#include <cstdint> + #include <wayland-version.hpp> + #include <wayland-client-core.h> + #include <wayland-util.hpp> + +--- a/scanner/scanner.cpp ++++ b/scanner/scanner.cpp +@@ -24,6 +24,7 @@ + #include <cctype> + #include <cmath> + #include <stdexcept> ++#include <cstdint> + + #include "pugixml.hpp" + +@@ -928,6 +929,7 @@ + << "#include <memory>" << std::endl + << "#include <string>" << std::endl + << "#include <vector>" << std::endl ++ << "#include <cstdint>" << std::endl + << std::endl + << "#include <wayland-client.hpp>" << std::endl; diff --git a/tools/depends/target/waylandpp/Makefile b/tools/depends/target/waylandpp/Makefile index 5210e6709a..4631a4668e 100644 --- a/tools/depends/target/waylandpp/Makefile +++ b/tools/depends/target/waylandpp/Makefile @@ -1,5 +1,5 @@ -include ../../Makefile.include -DEPS =Makefile ../../download-files.include +DEPS =Makefile ../../download-files.include 001-fix-gcc13-build.patch # lib name, version LIBNAME=waylandpp @@ -43,6 +43,7 @@ ifeq ($(PREFIX),) endif rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); patch -p1 -i ../001-fix-gcc13-build.patch mkdir -p $(BUILDDIR) cd $(BUILDDIR); $(CMAKE) $(CMAKE_OPTIONS) .. |