From c54ca15c65828d8ae1a39fce60777a5380efd84b Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 17 Jun 2025 23:02:28 +0200 Subject: [PATCH] package/libplatform: bump version Removed patch which is included in this release: https://github.com/Pulse-Eight/platform/commit/e48db06c64613ac76c820511da95228bcd072f64 Use upstream-provided license file: https://github.com/Pulse-Eight/platform/commit/92220248b11c43a80105567dbb074c5f30b04029 This bump includes compatibility with cmake 4.x: https://github.com/Pulse-Eight/platform/commit/d7faed1c696b1a6a67f114a63a0f4c085f0f9195 Signed-off-by: Bernd Kuhls [Julien: remove patch entry in .checkpackageignore] Signed-off-by: Julien Olivain (cherry picked from commit 4da169b03eeb15ab3f7ed7f41c916290d5a3c928) Signed-off-by: Thomas Perale --- .checkpackageignore | 1 - ...require-c-11-as-the-minimum-standard.patch | 26 ------------------- package/libplatform/libplatform.hash | 4 +-- package/libplatform/libplatform.mk | 4 +-- 4 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch diff --git a/.checkpackageignore b/.checkpackageignore index a0cbbdb7c4..7c27c86068 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -680,7 +680,6 @@ package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf package/liboping/0004-Fix-compile-error-on-GCC-7.patch lib_patch.Upstream package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch lib_patch.Upstream package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch lib_patch.Upstream -package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch lib_patch.Upstream package/libpthsem/0001-fix-build-on-linux-3.x-host.patch lib_patch.Upstream package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch lib_patch.Upstream package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch lib_patch.Upstream diff --git a/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch b/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch deleted file mode 100644 index b880a31953..0000000000 --- a/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ad9fcceb6267e737316b616551b7aac3cf676481 Mon Sep 17 00:00:00 2001 -From: Lukas Rusak -Date: Fri, 2 Oct 2020 15:31:36 -0700 -Subject: [PATCH] [cmake] require c++11 as the minimum standard - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/Pulse-Eight/platform/pull/46] ---- - CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7144b0b..e9112f9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,6 +3,10 @@ project(p8-platform) - cmake_minimum_required(VERSION 2.8.9) - enable_language(CXX) - -+set(CMAKE_CXX_STANDARD 11) -+set(CMAKE_CXX_STANDARD_REQUIRED YES) -+set(CMAKE_CXX_EXTENSIONS NO) -+ - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) - - find_package(Threads REQUIRED) diff --git a/package/libplatform/libplatform.hash b/package/libplatform/libplatform.hash index 283b435b7c..5fead5eb95 100644 --- a/package/libplatform/libplatform.hash +++ b/package/libplatform/libplatform.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 ebee46c76b86b40b703fa913465f5004fa3166eeb6a4794c58fc8a5c25702931 libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2.tar.gz -sha256 80fc66febbb2393c9d518e3eefa4ad9aae15a9b6a84174c0e443ea79eeea5131 src/os.h +sha256 2ab98ba486b28dd9c31e9f0f8a04eddad12c09ad1951c359fdef475baafba296 libplatform-2748be52ae27e6007ef548b697d4a03ff7de4291.tar.gz +sha256 0137261d24ce001fc5237aacddd267533e0f150ac23cf21acffea599f7358f7a LICENSE.md diff --git a/package/libplatform/libplatform.mk b/package/libplatform/libplatform.mk index 90192369fe..aeded5e9a7 100644 --- a/package/libplatform/libplatform.mk +++ b/package/libplatform/libplatform.mk @@ -4,10 +4,10 @@ # ################################################################################ -LIBPLATFORM_VERSION = a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 +LIBPLATFORM_VERSION = 2748be52ae27e6007ef548b697d4a03ff7de4291 LIBPLATFORM_SITE = $(call github,Pulse-Eight,platform,$(LIBPLATFORM_VERSION)) LIBPLATFORM_LICENSE = GPL-2.0+ -LIBPLATFORM_LICENSE_FILES = src/os.h +LIBPLATFORM_LICENSE_FILES = LICENSE.md LIBPLATFORM_INSTALL_STAGING = YES $(eval $(cmake-package))