Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2223062/?format=api
{ "id": 2223062, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2223062/?format=api", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/1.0/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260414095609.18515-1-fl@n621.de>", "date": "2026-04-14T09:56:07", "name": "[1/1] package/tinycbor: bump to v7.0", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b50fe680b3f74d9f8e4ec37d1dbd1871b815e62e", "submitter": { "id": 69614, "url": "http://patchwork.ozlabs.org/api/1.0/people/69614/?format=api", "name": "Florian Larysch", "email": "fl@n621.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414095609.18515-1-fl@n621.de/mbox/", "series": [ { "id": 499810, "url": "http://patchwork.ozlabs.org/api/1.0/series/499810/?format=api", "date": "2026-04-14T09:56:07", "name": "[1/1] package/tinycbor: bump to v7.0", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499810/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2223062/checks/", "tags": {}, "headers": { "Return-Path": "<buildroot-bounces@buildroot.org>", "X-Original-To": [ "incoming-buildroot@patchwork.ozlabs.org", "buildroot@buildroot.org" ], "Delivered-To": [ "patchwork-incoming-buildroot@legolas.ozlabs.org", "buildroot@buildroot.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=EQwfew2L;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fw06L469lz1xtJ\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 14 Apr 2026 19:56:25 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id BC9DA849FF;\n\tTue, 14 Apr 2026 09:56:23 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id j2yzOwf56Ncu; Tue, 14 Apr 2026 09:56:21 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id B1920849E0;\n\tTue, 14 Apr 2026 09:56:21 +0000 (UTC)", "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id 33629375\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 09:56:20 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 25A694117D\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 09:56:20 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id TZKLIhFvZ4x8 for <buildroot@buildroot.org>;\n Tue, 14 Apr 2026 09:56:19 +0000 (UTC)", "from nyx.n621.de (v4gw.hekate.n621.de [136.243.2.102])\n by smtp4.osuosl.org (Postfix) with ESMTPS id AB25E41115\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 09:56:18 +0000 (UTC)", "from charybdis.office.fixme.cloud (localhost [127.0.0.1])\n by nyx.n621.de (Postfix) with ESMTP id 2CDEFE00309;\n Tue, 14 Apr 2026 11:56:14 +0200 (CEST)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp1.osuosl.org B1920849E0", "OpenDKIM Filter v2.11.0 smtp4.osuosl.org AB25E41115" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776160581;\n\tbh=kyvqeTzvRGBf2zvo9cyFKQozUNoXviJGvHfb/VNERHA=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=EQwfew2LyN7d8SukbNYEOJYqwF3FdyJuieSW4q0Y5JwqO7RP340i7nLjxhcIFxhOW\n\t 5hMA85ZfvT/3lU9fgnivkFnnBvh02C+McU9RpXkD57mlKcDKWjoFLsUvZ5NoVEUe2D\n\t irh1JR79piDyD5IJUCg9XphI3rtJY8rl/N7T75SUsPyDhPdPxgUwFKfSW6hvS9U/y/\n\t +rSy86BM9VbqR6+Wyu4lUauOdKxUNXSQRNZM9wlA139ipsUtZBvh/vTuoRgi8eLeZV\n\t b5f6ITul/a8KaFsmAysiVxdbHEsz7QwZpFmDPd93g0XrWj6x1dPY6wnztRreO/tNSl\n\t zVNiECuZiajog==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=136.243.2.102;\n helo=nyx.n621.de; envelope-from=fl@n621.de; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org AB25E41115", "From": "Florian Larysch <fl@n621.de>", "To": "buildroot@buildroot.org", "Cc": "Fabrice Fontaine <fontaine.fabrice@gmail.com>,\n Florian Larysch <fl@n621.de>", "Date": "Tue, 14 Apr 2026 11:56:07 +0200", "Message-ID": "<20260414095609.18515-1-fl@n621.de>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=n621.de; s=dkim; t=1776160574;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=vnXJaXa6nu6SiYuezgds518gFM6FxLTYXeyMth4e3ek=;\n b=VECV/WxiOHOQLVi+4f0UaDdy0h6j7cJgdbb2Cf2S/mbxSr1Bp4dujBZL5dhVN7L0nYDdrD\n FrTCDDNmcbccLJUBdIrl+N1TneU81pCnH+WGCXrYFFfOwFkHFs9IZHNTP32Z9mDQidxmRN\n od35nRLvJ7Qr2Rh6qyUdKIe4gkYns74=", "X-Mailman-Original-Authentication-Results": [ "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=n621.de", "smtp4.osuosl.org;\n dkim=pass (1024-bit key,\n unprotected) header.d=n621.de header.i=@n621.de header.a=rsa-sha256\n header.s=dkim header.b=VECV/Wxi" ], "Subject": "[Buildroot] [PATCH 1/1] package/tinycbor: bump to v7.0", "X-BeenThere": "buildroot@buildroot.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>", "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>", "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@buildroot.org>", "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>", "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "Update tinycbor to the latest version. This release migrates from a\nhand-written Makefile to CMake, which required a number of patches to\nrestore parity with the old system:\n\n - Fix building on toolchains without C++ support\n - Keep installing the json2cbor command line tool\n\nAlso building on GCC versions older than 11 was fixed and subsequently\nbroken again, so this requires a refreshed version of the patch that was\nalready present for 0.6.1.\n\nChangelog: https://github.com/intel/tinycbor/releases/tag/v7.0\nSigned-off-by: Florian Larysch <fl@n621.de>\n---\n ...CC-11-fallthrough-is-supported-but-n.patch | 55 ----------------\n package/tinycbor/0001-install-json2cbor.patch | 29 +++++++++\n ...ompilersupport-fix-build-with-GCC-11.patch | 41 ++++++++++++\n .../0002-fix-build-on-i386-without-SSE2.patch | 59 ------------------\n ...-depend-on-C-compiler-for-main-build.patch | 62 +++++++++++++++++++\n package/tinycbor/tinycbor.hash | 2 +-\n package/tinycbor/tinycbor.mk | 31 +---------\n 7 files changed, 135 insertions(+), 144 deletions(-)\n delete mode 100644 package/tinycbor/0001-Fix-build-with-GCC-11-fallthrough-is-supported-but-n.patch\n create mode 100644 package/tinycbor/0001-install-json2cbor.patch\n create mode 100644 package/tinycbor/0002-compilersupport-fix-build-with-GCC-11.patch\n delete mode 100644 package/tinycbor/0002-fix-build-on-i386-without-SSE2.patch\n create mode 100644 package/tinycbor/0003-CMake-don-t-depend-on-C-compiler-for-main-build.patch", "diff": "diff --git a/package/tinycbor/0001-Fix-build-with-GCC-11-fallthrough-is-supported-but-n.patch b/package/tinycbor/0001-Fix-build-with-GCC-11-fallthrough-is-supported-but-n.patch\ndeleted file mode 100644\nindex e54e8db6e2..0000000000\n--- a/package/tinycbor/0001-Fix-build-with-GCC-11-fallthrough-is-supported-but-n.patch\n+++ /dev/null\n@@ -1,55 +0,0 @@\n-From 45e4641059709862b4e46f3608d140337566334b Mon Sep 17 00:00:00 2001\n-From: Thiago Macieira <thiago.macieira@intel.com>\n-Date: Wed, 2 Apr 2025 08:39:04 -0700\n-Subject: [PATCH] Fix build with GCC < 11: [[fallthrough]] is supported but not\n- allowed in C\n-\n-I think GCC says `__has_cpp_attribute(fallthrough)` is true because C++\n-supports it (it means \"has C++ attribute\"), but that doesn't apply to\n-the C language. This causes a compilation error:\n-\n-```\n-compilersupport_p.h:57:41: error: expected expression before '[' token\n- 57 | # define CBOR_FALLTHROUGH [[fallthrough]]\n- | ^\n-cborparser.c:225:13: note: in expansion of macro 'CBOR_FALLTHROUGH'\n- 225 | CBOR_FALLTHROUGH;\n- | ^~~~~~~~~~~~~~~~\n-```\n-\n-Instead, we should use the C23 `__has_c_attribute` to detect the C\n-attribute.\n-\n-Fixes #293.\n-\n-Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>\n-\n-Upstream: https://github.com/intel/tinycbor/commit/45e4641059709862b4e46f3608d140337566334b\n-Signed-off-by: Florian Larysch <fl@n621.de>\n----\n- src/compilersupport_p.h | 6 +++++-\n- 1 file changed, 5 insertions(+), 1 deletion(-)\n-\n-diff --git a/src/compilersupport_p.h b/src/compilersupport_p.h\n-index c91ea93..9251799 100644\n---- a/src/compilersupport_p.h\n-+++ b/src/compilersupport_p.h\n-@@ -52,10 +52,14 @@\n- # define cbor_static_assert(x) ((void)sizeof(char[2*!!(x) - 1]))\n- #endif\n- \n--#if defined(__has_cpp_attribute) // C23 and C++17\n-+#if defined(__has_cpp_attribute) && defined(__cplusplus) // C++17\n- # if __has_cpp_attribute(fallthrough)\n- # define CBOR_FALLTHROUGH [[fallthrough]]\n- # endif\n-+#elif defined(__has_c_attribute) && !defined(__cplusplus) // C23\n-+# if __has_c_attribute(fallthrough)\n-+# define CBOR_FALLTHROUGH [[fallthrough]]\n-+# endif\n- #endif\n- #ifndef CBOR_FALLTHROUGH\n- # ifdef __GNUC__\n--- \n-2.50.1\n-\ndiff --git a/package/tinycbor/0001-install-json2cbor.patch b/package/tinycbor/0001-install-json2cbor.patch\nnew file mode 100644\nindex 0000000000..c635070e28\n--- /dev/null\n+++ b/package/tinycbor/0001-install-json2cbor.patch\n@@ -0,0 +1,29 @@\n+From c2c569fbef704685ce62d45fb7b20a804f45e9f3 Mon Sep 17 00:00:00 2001\n+From: Florian Larysch <larysch@fixme.gmbh>\n+Date: Mon, 13 Apr 2026 21:57:03 +0200\n+Subject: [PATCH] install json2cbor\n+\n+The old Make-based build system installed json2cbor during \"make\n+install\" if it has been built. However, this behavior got dropped during\n+the CMake migration, causing this tool to be missing by default. Restore\n+the old behavior.\n+\n+Signed-off-by: Florian Larysch <fl@n621.de>\n+Upstream: https://github.com/intel/tinycbor/commit/c2c569fbef704685ce62d45fb7b20a804f45e9f3\n+---\n+ tools/json2cbor/CMakeLists.txt | 1 +\n+ 1 file changed, 1 insertion(+)\n+\n+diff --git a/tools/json2cbor/CMakeLists.txt b/tools/json2cbor/CMakeLists.txt\n+index 41892a3..a873114 100644\n+--- a/tools/json2cbor/CMakeLists.txt\n++++ b/tools/json2cbor/CMakeLists.txt\n+@@ -6,4 +6,5 @@ if(LIBCJSON_FOUND)\n+ tinycbor_add_executable(json2cbor json2cbor.c)\n+ target_include_directories(json2cbor SYSTEM PUBLIC ${LIBCJSON_INCLUDE_DIRS})\n+ target_link_libraries(json2cbor ${LIBCJSON_LIBRARIES})\n++ install(TARGETS json2cbor)\n+ endif()\n+-- \n+2.53.0\n+\ndiff --git a/package/tinycbor/0002-compilersupport-fix-build-with-GCC-11.patch b/package/tinycbor/0002-compilersupport-fix-build-with-GCC-11.patch\nnew file mode 100644\nindex 0000000000..6c4b368eff\n--- /dev/null\n+++ b/package/tinycbor/0002-compilersupport-fix-build-with-GCC-11.patch\n@@ -0,0 +1,41 @@\n+From 4adba2c1cc376cbbbbc603595e2f561a21259bfb Mon Sep 17 00:00:00 2001\n+From: Florian Larysch <fl@n621.de>\n+Date: Mon, 13 Apr 2026 23:34:39 +0200\n+Subject: [PATCH] compilersupport: fix build with GCC < 11\n+\n+Commit 45e4641 (\"Fix build with GCC < 11: [[fallthrough]] is supported\n+but not allowed in C\") introduced a fix for old GCC versions, but commit\n+91d1c50 (\"compilersupport: fix compilation in C23 mode\") reverted it,\n+reintroducing the build failure.\n+\n+Revert the revert.\n+\n+Signed-off-by: Florian Larysch <fl@n621.de>\n+Upstream: https://github.com/intel/tinycbor/commit/76d7a29cead0f8c1c72a6b4fb2ecbc8a9885ed89\n+---\n+ src/compilersupport_p.h | 6 +++++-\n+ 1 file changed, 5 insertions(+), 1 deletion(-)\n+\n+diff --git a/src/compilersupport_p.h b/src/compilersupport_p.h\n+index 7f24773..670a291 100644\n+--- a/src/compilersupport_p.h\n++++ b/src/compilersupport_p.h\n+@@ -52,10 +52,14 @@\n+ # define cbor_static_assert(x) ((void)sizeof(char[2*!!(x) - 1]))\n+ #endif\n+ \n+-#if defined(__has_cpp_attribute) // C23 and C++17\n++#if defined(__has_cpp_attribute) && defined(__cplusplus) // C++17\n+ # if __has_cpp_attribute(fallthrough)\n+ # define CBOR_FALLTHROUGH [[fallthrough]]\n+ # endif\n++#elif defined(__has_c_attribute) && !defined(__cplusplus) // C23\n++# if __has_c_attribute(fallthrough)\n++# define CBOR_FALLTHROUGH [[fallthrough]]\n++# endif\n+ #endif\n+ #ifndef CBOR_FALLTHROUGH\n+ # ifdef __GNUC__\n+-- \n+2.53.0\n+\ndiff --git a/package/tinycbor/0002-fix-build-on-i386-without-SSE2.patch b/package/tinycbor/0002-fix-build-on-i386-without-SSE2.patch\ndeleted file mode 100644\nindex 45611e6f23..0000000000\n--- a/package/tinycbor/0002-fix-build-on-i386-without-SSE2.patch\n+++ /dev/null\n@@ -1,59 +0,0 @@\n-From 48a22bddfcc67b3a433ded695f906cc314a0bd5f Mon Sep 17 00:00:00 2001\n-From: Florian Larysch <fl@n621.de>\n-Date: Sun, 17 Aug 2025 00:20:57 +0200\n-Subject: [PATCH] fix build on i386 without SSE2\n-MIME-Version: 1.0\n-Content-Type: text/plain; charset=UTF-8\n-Content-Transfer-Encoding: 8bit\n-\n-Commit 3cba6b1 (\"Use _Float16 for half conversions if available\") added\n-support for using half-width float support in the compiler to perform\n-encoding operations, using the FLT16_MANT_DIG macro to check for\n-support on the given target.\n-\n-However, on x86 GCC only supports this when SSE2 is enabled[1]. Unlike\n-clang and the other architectures where support for this is conditional,\n-GCC *does* define those macros even without SSE2 support, causing a\n-build failure:\n-\n- In file included from cborencoder_float.c:29:\n- cborinternal_p.h: In function ‘encode_half’:\n- cborinternal_p.h:56:5: error: invalid conversion to type ‘_Float16’ without option ‘-msse2’\n- 56 | _Float16 f = (_Float16)x;\n- | ^~~~~~~~\n- cborinternal_p.h: In function ‘decode_half’:\n- cborinternal_p.h:65:5: error: invalid conversion from type ‘_Float16’ without option ‘-msse2’\n- 65 | return (float)f;\n- |\n-\n-Work around this by additionally checking for this specific condition.\n-\n-[1] https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html\n-\n-Upstream: https://github.com/intel/tinycbor/commit/48a22bddfcc67b3a433ded695f906cc314a0bd5f\n-Signed-off-by: Florian Larysch <fl@n621.de>\n----\n- src/cborinternal_p.h | 6 +++++-\n- 1 file changed, 5 insertions(+), 1 deletion(-)\n-\n-diff --git a/src/cborinternal_p.h b/src/cborinternal_p.h\n-index 19273ac..ee9c117 100644\n---- a/src/cborinternal_p.h\n-+++ b/src/cborinternal_p.h\n-@@ -48,8 +48,12 @@\n- /* Check for FLT16_MANT_DIG using integer comparison. Clang headers incorrectly\n- * define this macro unconditionally when __STDC_WANT_IEC_60559_TYPES_EXT__\n- * is defined (regardless of actual support for _Float16).\n-+ *\n-+ * GCC defines these macros but doesn't support arithmetic including\n-+ * conversions on x86 without SSE2.\n- */\n--# if FLT16_MANT_DIG > 0 || __FLT16_MANT_DIG__ > 0\n-+# if (FLT16_MANT_DIG > 0 || __FLT16_MANT_DIG__ > 0) && \\\n-+ !(defined(__i386__) && !defined(__SSE2__))\n- static inline unsigned short encode_half(float x)\n- {\n- unsigned short h;\n--- \n-2.50.1\n-\ndiff --git a/package/tinycbor/0003-CMake-don-t-depend-on-C-compiler-for-main-build.patch b/package/tinycbor/0003-CMake-don-t-depend-on-C-compiler-for-main-build.patch\nnew file mode 100644\nindex 0000000000..7fabb1e57d\n--- /dev/null\n+++ b/package/tinycbor/0003-CMake-don-t-depend-on-C-compiler-for-main-build.patch\n@@ -0,0 +1,62 @@\n+From bd2f0a3d2402cbb2d6e071cc3051ad04aa93e63d Mon Sep 17 00:00:00 2001\n+From: Florian Larysch <fl@n621.de>\n+Date: Mon, 13 Apr 2026 23:26:21 +0200\n+Subject: [PATCH] CMake: don't depend on C++ compiler for main build\n+\n+Only the tests actually require a C++ compiler, however CXX is globally\n+enabled for the project, which prevents building on targets that do\n+not have a C++ compiler available.\n+\n+Only enable C++ support selectively when building the tests is enabled\n+too.\n+\n+Signed-off-by: Florian Larysch <fl@n621.de>\n+Upstream: https://github.com/intel/tinycbor/pull/323\n+---\n+ CMakeLists.txt | 9 +++++----\n+ 1 file changed, 5 insertions(+), 4 deletions(-)\n+\n+diff --git a/CMakeLists.txt b/CMakeLists.txt\n+index e504ee5..e185474 100644\n+--- a/CMakeLists.txt\n++++ b/CMakeLists.txt\n+@@ -24,7 +24,7 @@\n+ \n+ cmake_minimum_required(VERSION 3.10)\n+ \n+-project(tinycbor LANGUAGES C CXX VERSION 7.0)\n++project(tinycbor LANGUAGES C VERSION 7.0)\n+ \n+ # Set path to additional cmake scripts\n+ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})\n+@@ -56,7 +56,7 @@ add_library(tinycbor\n+ )\n+ if(WITH_FREESTANDING)\n+ target_compile_options(tinycbor PUBLIC\n+- $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-ffreestanding>\n++ $<$<NOT:$<C_COMPILER_ID:MSVC>>:-ffreestanding>\n+ )\n+ else()\n+ target_sources(tinycbor PRIVATE\n+@@ -106,8 +106,8 @@ endif()\n+ \n+ # Enable warnings\n+ target_compile_options(tinycbor PRIVATE\n+- $<$<CXX_COMPILER_ID:MSVC>:-W3>\n+- $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:\n++ $<$<C_COMPILER_ID:MSVC>:-W3>\n++ $<$<NOT:$<C_COMPILER_ID:MSVC>>:\n+ -Wall -Wextra\n+ -Werror=format-security\n+ -Werror=incompatible-pointer-types\n+@@ -181,6 +181,7 @@ if(BUILD_EXAMPLES)\n+ add_subdirectory(examples)\n+ endif()\n+ if(BUILD_TESTING)\n++ enable_language(CXX)\n+ enable_testing()\n+ add_subdirectory(tests)\n+ endif()\n+-- \n+2.53.0\n+\ndiff --git a/package/tinycbor/tinycbor.hash b/package/tinycbor/tinycbor.hash\nindex dd63822908..808e487694 100644\n--- a/package/tinycbor/tinycbor.hash\n+++ b/package/tinycbor/tinycbor.hash\n@@ -1,3 +1,3 @@\n # Locally computed:\n-sha256 0f9944496d1143935e9c996bc6233ca0dd5451299def33ef400a409942f8f34b tinycbor-0.6.1.tar.gz\n+sha256 8b1b76001b9f987677f2ea7aa814fba1f810ff6cbbffa62ea3bac612c55b1a56 tinycbor-7.0.tar.gz\n sha256 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e LICENSE\ndiff --git a/package/tinycbor/tinycbor.mk b/package/tinycbor/tinycbor.mk\nindex 03067edbd7..188cd4617b 100644\n--- a/package/tinycbor/tinycbor.mk\n+++ b/package/tinycbor/tinycbor.mk\n@@ -4,42 +4,15 @@\n #\n ################################################################################\n \n-TINYCBOR_VERSION = 0.6.1\n+TINYCBOR_VERSION = 7.0\n TINYCBOR_SITE = $(call github,intel,tinycbor,v$(TINYCBOR_VERSION))\n TINYCBOR_LICENSE = MIT\n TINYCBOR_LICENSE_FILES = LICENSE\n \n-TINYCBOR_DEPENDENCIES = host-pkgconf\n TINYCBOR_INSTALL_STAGING = YES\n \n ifeq ($(BR2_PACKAGE_CJSON),y)\n TINYCBOR_DEPENDENCIES += cjson\n endif\n \n-TINYCBOR_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) DISABLE_WERROR=1 V=1 prefix=/usr\n-\n-ifeq ($(BR2_STATIC_LIBS),y)\n-TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=0\n-else ifeq ($(BR2_SHARED_STATIC_LIBS),y)\n-TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=1\n-else ifeq ($(BR2_SHARED_LIBS),y)\n-TINYCBOR_MAKE_OPTS += BUILD_STATIC=0 BUILD_SHARED=1\n-endif\n-\n-# disabled parallel build because of build failures while\n-# producing the .config file\n-define TINYCBOR_BUILD_CMDS\n-\t$(TARGET_MAKE_ENV) $(MAKE1) $(TINYCBOR_MAKE_OPTS) -C $(@D)\n-endef\n-\n-define TINYCBOR_INSTALL_STAGING_CMDS\n-\t$(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \\\n-\t\tDESTDIR=$(STAGING_DIR) install\n-endef\n-\n-define TINYCBOR_INSTALL_TARGET_CMDS\n-\t$(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \\\n-\t\tDESTDIR=$(TARGET_DIR) install\n-endef\n-\n-$(eval $(generic-package))\n+$(eval $(cmake-package))\n", "prefixes": [ "1/1" ] }