diff --git a/community/waylandpp/APKBUILD b/community/waylandpp/APKBUILD index c6995e0bf58..8d4fd5eb4a9 100644 --- a/community/waylandpp/APKBUILD +++ b/community/waylandpp/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers pkgname=waylandpp pkgver=1.0.0 -pkgrel=0 +pkgrel=1 arch="all" url="https://github.com/NilsBrause/waylandpp" options="!check" # No tests are run @@ -19,7 +19,9 @@ makedepends="$depends_dev graphviz samurai " -source="https://github.com/nilsbrause/waylandpp/archive/$pkgver/waylandpp-$pkgver.tar.gz" +source="https://github.com/nilsbrause/waylandpp/archive/$pkgver/waylandpp-$pkgver.tar.gz + gcc13.patch + " subpackages="$pkgname-dev $pkgname-doc" build() { @@ -40,4 +42,5 @@ package() { sha512sums=" 64b59d073a0593ecf442362eb63ec0a9dfeaa1ad1d56b5955cb0c159fd01dc45e012b926811c6ca0dc12d4bb2e640eabc2e778ab7d28de2098eb694d26f01039 waylandpp-1.0.0.tar.gz +1134f5d0330b09fb84b8a59f91faa7752f5077be1a25f2464bae8da9d2e725cf28c00f20d1f86b25adc2627c89526369d50ca65c330550ca4c8b8c6a13eb6963 gcc13.patch " diff --git a/community/waylandpp/gcc13.patch b/community/waylandpp/gcc13.patch new file mode 100644 index 00000000000..7bae5853cfc --- /dev/null +++ b/community/waylandpp/gcc13.patch @@ -0,0 +1,57 @@ +Patch-Source: https://github.com/NilsBrause/waylandpp/pull/75 +-- +From 5e3243b163aa5d50083b4036c21f84c1204f2023 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 26 Jan 2023 23:25:05 -0800 +Subject: [PATCH] include missing + +gcc 13 moved some includes around and as a result is no longer transitively included [1]. Explicitly include it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj +--- + include/wayland-client.hpp | 1 + + scanner/scanner.cpp | 3 +++ + 2 files changed, 4 insertions(+) + +diff --git a/include/wayland-client.hpp b/include/wayland-client.hpp +index a3f782b..4598a0e 100644 +--- a/include/wayland-client.hpp ++++ b/include/wayland-client.hpp +@@ -29,6 +29,7 @@ + /** \file */ + + #include ++#include + #include + #include + #include +diff --git a/scanner/scanner.cpp b/scanner/scanner.cpp +index bebd71e..c25746a 100644 +--- a/scanner/scanner.cpp ++++ b/scanner/scanner.cpp +@@ -15,6 +15,7 @@ + * along with this program. If not, see . + */ + ++#include + #include + #include + #include +@@ -1106,6 +1107,7 @@ int main(int argc, char *argv[]) + wayland_hpp << "#pragma once" << std::endl + << std::endl + << "#include " << std::endl ++ << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl +@@ -1125,6 +1127,7 @@ int main(int argc, char *argv[]) + wayland_server_hpp << "#pragma once" << std::endl + << std::endl + << "#include " << std::endl ++ << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl