diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-cpp/waylandpp/files | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/waylandpp/files')
| -rw-r--r-- | dev-cpp/waylandpp/files/waylandpp-1.0.0-cmake4.patch | 13 | ||||
| -rw-r--r-- | dev-cpp/waylandpp/files/waylandpp-1.0.0-gcc-13.patch | 51 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-cpp/waylandpp/files/waylandpp-1.0.0-cmake4.patch b/dev-cpp/waylandpp/files/waylandpp-1.0.0-cmake4.patch new file mode 100644 index 000000000000..994fc2f45668 --- /dev/null +++ b/dev-cpp/waylandpp/files/waylandpp-1.0.0-cmake4.patch @@ -0,0 +1,13 @@ +https://github.com/NilsBrause/waylandpp/pull/85 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,7 +21,7 @@ + # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-cmake_minimum_required(VERSION 3.4) ++cmake_minimum_required(VERSION 3.4...4.0) + project(waylandpp VERSION 1.0.0 LANGUAGES CXX) + + # packages diff --git a/dev-cpp/waylandpp/files/waylandpp-1.0.0-gcc-13.patch b/dev-cpp/waylandpp/files/waylandpp-1.0.0-gcc-13.patch new file mode 100644 index 000000000000..314b1aa5fb80 --- /dev/null +++ b/dev-cpp/waylandpp/files/waylandpp-1.0.0-gcc-13.patch @@ -0,0 +1,51 @@ +https://github.com/NilsBrause/waylandpp/pull/71 + +From 3c441910aa25f57df2a4db55f75f5d99cea86620 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyich@gmail.com> +Date: Sun, 8 Jan 2023 18:24:53 +0000 +Subject: [PATCH] add missing <cstdint> include + +Upcoming `gcc-13` made `<string>` leaner and does not include `<cstdint>` +implicitly anymore. As a result build fails without the change as: + + [ 2%] Building CXX object CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o + scanner/scanner.cpp:378:3: error: 'uint32_t' does not name a type + 378 | uint32_t width = 0; + | ^~~~~~~~ +--- a/include/wayland-client.hpp ++++ b/include/wayland-client.hpp +@@ -29,6 +29,7 @@ + /** \file */ + + #include <atomic> ++#include <cstdint> + #include <functional> + #include <memory> + #include <string> +--- a/scanner/scanner.cpp ++++ b/scanner/scanner.cpp +@@ -23,6 +23,7 @@ + #include <vector> + #include <cctype> + #include <cmath> ++#include <cstdint> + #include <stdexcept> + + #include "pugixml.hpp" +@@ -1106,6 +1107,7 @@ int main(int argc, char *argv[]) + wayland_hpp << "#pragma once" << std::endl + << std::endl + << "#include <array>" << std::endl ++ << "#include <cstdint>" << std::endl + << "#include <functional>" << std::endl + << "#include <memory>" << std::endl + << "#include <string>" << std::endl +@@ -1125,6 +1127,7 @@ int main(int argc, char *argv[]) + wayland_server_hpp << "#pragma once" << std::endl + << std::endl + << "#include <array>" << std::endl ++ << "#include <cstdint>" << std::endl + << "#include <functional>" << std::endl + << "#include <memory>" << std::endl + << "#include <string>" << std::endl + |
