diff --git a/package/libcrossguid/0001-pr67-include-missing-cstdint.patch b/package/libcrossguid/0001-pr67-include-missing-cstdint.patch new file mode 100644 index 0000000000..0986f4e9e5 --- /dev/null +++ b/package/libcrossguid/0001-pr67-include-missing-cstdint.patch @@ -0,0 +1,31 @@ +From 1eb9bea38c320b2b588635cffceaaa2a8d434780 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 25 Jan 2023 22:09:26 -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 + +Upstream: https://github.com/graeme-hill/crossguid/pull/67 + +Signed-off-by: Bernd Kuhls +--- + include/crossguid/guid.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp +index 61e0f17..70966f2 100644 +--- a/include/crossguid/guid.hpp ++++ b/include/crossguid/guid.hpp +@@ -29,6 +29,7 @@ THE SOFTWARE. + #include + #endif + ++#include + #include + #include + #include diff --git a/package/libcrossguid/libcrossguid.hash b/package/libcrossguid/libcrossguid.hash index 17dbe35c71..f65c25732d 100644 --- a/package/libcrossguid/libcrossguid.hash +++ b/package/libcrossguid/libcrossguid.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99 libcrossguid-8f399e8bd4252be9952f3dfa8199924cc8487ca4.tar.gz +sha256 6be27e0b3a4907f0cd3cfadec255ee1b925569e1bd06e67a4d2f4267299b69c4 libcrossguid-v0.2.2-52-gca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz sha256 779e58787f966a1552f68d5ec041513cef68785dae4a519dbda7bc0b86eda20e LICENSE diff --git a/package/libcrossguid/libcrossguid.mk b/package/libcrossguid/libcrossguid.mk index 46d9a9dcc6..c77f21ab26 100644 --- a/package/libcrossguid/libcrossguid.mk +++ b/package/libcrossguid/libcrossguid.mk @@ -4,25 +4,12 @@ # ################################################################################ -LIBCROSSGUID_VERSION = 8f399e8bd4252be9952f3dfa8199924cc8487ca4 +LIBCROSSGUID_VERSION = v0.2.2-52-gca1bf4b810e2d188d04cb6286f957008ee1b7681 LIBCROSSGUID_SITE = $(call github,graeme-hill,crossguid,$(LIBCROSSGUID_VERSION)) LIBCROSSGUID_LICENSE = MIT LIBCROSSGUID_LICENSE_FILES = LICENSE LIBCROSSGUID_INSTALL_STAGING = YES -# only a static library -LIBCROSSGUID_INSTALL_TARGET = NO LIBCROSSGUID_DEPENDENCIES = util-linux +LIBCROSSGUID_CONF_OPTS = -DCROSSGUID_TESTS=OFF -define LIBCROSSGUID_BUILD_CMDS - (cd $(@D); $(TARGET_CXX) $(TARGET_CXXFLAGS) -std=c++11 -DGUID_LIBUUID \ - -c guid.cpp -o guid.o) - (cd $(@D); $(TARGET_AR) rvs libcrossguid.a guid.o) -endef - -define LIBCROSSGUID_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 644 $(@D)/libcrossguid.a \ - $(STAGING_DIR)/usr/lib/libcrossguid.a - $(INSTALL) -D -m 644 $(@D)/guid.h $(STAGING_DIR)/usr/include/guid.h -endef - -$(eval $(generic-package)) +$(eval $(cmake-package))