]> git.feebdaed.xyz Git - 0xmirror/buildroot.git/commitdiff
package/oatpp: bump version to 1.3.1
authorBernd Kuhls <bernd@kuhls.net>
Sun, 7 Dec 2025 14:42:15 +0000 (15:42 +0100)
committerJulien Olivain <ju.o@free.fr>
Fri, 26 Dec 2025 16:39:15 +0000 (17:39 +0100)
Removed patch which is included in this release.

Backported bump to fix cmake 4 compatibility.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
package/oatpp/0001-cmake4.patch [new file with mode: 0644]
package/oatpp/0001-src-oatpp-core-base-Environment.hpp-include-cstdarg.patch [deleted file]
package/oatpp/oatpp.hash
package/oatpp/oatpp.mk

diff --git a/package/oatpp/0001-cmake4.patch b/package/oatpp/0001-cmake4.patch
new file mode 100644 (file)
index 0000000..5dffdff
--- /dev/null
@@ -0,0 +1,22 @@
+From 06232810f7c23cc8a91864a504df412255a370b6 Mon Sep 17 00:00:00 2001
+From: Leonid Stryzhevskyi <lganzzzo@gmail.com>
+Date: Tue, 23 Apr 2024 01:20:20 +0300
+Subject: [PATCH] refactor json namespaces
+
+Upstream: https://github.com/oatpp/oatpp/commit/06232810f7c23cc8a91864a504df412255a370b6
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+[backported only the cmake bump]
+---
+ CMakeLists.txt                                |  2 +-
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9d41c8b2e..14ab71acf 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
+ file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/src/oatpp/core/base/Environment.hpp" OATPP_VERSION_MACRO REGEX "#define OATPP_VERSION \"[0-9]+.[0-9]+.[0-9]+\"$")
+ string(REGEX REPLACE "#define OATPP_VERSION \"([0-9]+.[0-9]+.[0-9]+)\"$" "\\1" oatpp_VERSION "${OATPP_VERSION_MACRO}")
diff --git a/package/oatpp/0001-src-oatpp-core-base-Environment.hpp-include-cstdarg.patch b/package/oatpp/0001-src-oatpp-core-base-Environment.hpp-include-cstdarg.patch
deleted file mode 100644 (file)
index 33fa04a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From 6ac376cec5c9573abf3ee3b82e71bd2b7e410dad Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Thu, 23 Nov 2023 22:45:56 +0100
-Subject: [PATCH] src/oatpp/core/base/Environment.hpp: include cstdarg
-
-Include cstdarg to fix the following build failure with uclibc-ng:
-
-In file included from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.hpp:28,
-                 from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.cpp:25:
-/home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/core/base/Environment.hpp:359:93: error: 'va_list' has not been declared
-  359 |   static void vlogFormatted(v_uint32 priority, const std::string& tag, const char* message, va_list args);
-      |                                                                                             ^~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/bcdf7548ff752f936defd111d13c63245ea70cbe
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Upstream: https://github.com/oatpp/oatpp/commit/1d11558e2cbbabc0db02a233bf00d651ce5ea758
-[Dario: make the patch to be applied with fuzz factor 0]
-Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
----
- src/oatpp/core/base/Environment.hpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/oatpp/core/base/Environment.hpp b/src/oatpp/core/base/Environment.hpp
-index 984afdf2a7f5..2eb18be3e196 100644
---- a/src/oatpp/core/base/Environment.hpp
-+++ b/src/oatpp/core/base/Environment.hpp
-@@ -28,6 +28,7 @@
- #include "./Config.hpp"
-+#include <cstdarg>
- #include <cstdio>
- #include <atomic>
- #include <mutex>
--- 
-2.43.0
-
index e6b35d8d51e346f3e91319552fcb2fbfb1f27f2f..4afb27f01204706e7d1eecc6f079c3f1fe6752b3 100644 (file)
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  e1f80fa8fd7a74da6737e7fee1a4db68b4d7085a3f40e7d550752d6ff5714583  oatpp-1.3.0.tar.gz
+sha256  9dd31f005ab0b3e8895a478d750d7dbce99e42750a147a3c42a9daecbddedd64  oatpp-1.3.1.tar.gz
 sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  LICENSE
index d3f6e1a9c264ae688767aa011ef3799642e69333..e1ca3fb16ca4dc8b4242274931e96d10e4cc37e2 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OATPP_VERSION = 1.3.0
+OATPP_VERSION = 1.3.1
 OATPP_SITE = $(call github,oatpp,oatpp,$(OATPP_VERSION))
 OATPP_LICENSE = Apache-2.0
 OATPP_LICENSE_FILES = LICENSE