From 30b05ce90d3368c0c74d2602735afdadbe50ec54 Mon Sep 17 00:00:00 2001 From: Michel Alex Date: Thu, 16 Jan 2025 07:17:42 +0000 Subject: [PATCH] package/libzenoh-pico: bump to version 1.1.0 Fixed CMakeLists.txt patch https://github.com/eclipse-zenoh/zenoh-pico/releases/tag/1.1.0 Signed-off-by: Alex Michel Signed-off-by: Julien Olivain --- ...xt-don-t-override-the-optimization-level.patch | 15 +++++++++------ package/libzenoh-pico/libzenoh-pico.hash | 2 +- package/libzenoh-pico/libzenoh-pico.mk | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/package/libzenoh-pico/0001-CMakeLists.txt-don-t-override-the-optimization-level.patch b/package/libzenoh-pico/0001-CMakeLists.txt-don-t-override-the-optimization-level.patch index 9f911a750b..e9a3520407 100644 --- a/package/libzenoh-pico/0001-CMakeLists.txt-don-t-override-the-optimization-level.patch +++ b/package/libzenoh-pico/0001-CMakeLists.txt-don-t-override-the-optimization-level.patch @@ -30,10 +30,10 @@ Upstream: https://github.com/eclipse-zenoh/zenoh-pico/pull/847 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7a9fb6d1..97fba56a 100644 +index 25b62fb5..623d13f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -85,13 +85,13 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE) +@@ -86,15 +86,15 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE) # Compile options if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR "Release") if(UNIX) @@ -44,13 +44,16 @@ index 7a9fb6d1..97fba56a 100644 + add_compile_options(-pipe) endif() else() - if(UNIX) + if(CMAKE_SYSTEM_NAME MATCHES "PICO") +- add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g -O0) ++ add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g) + elseif(UNIX) - add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g -O0) + add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g) # C99 pedantic doesn't like struct anonymous in unix header if (NOT CMAKE_C_STANDARD STREQUAL "99") add_compile_options(-Wpedantic) -@@ -100,7 +100,7 @@ else() +@@ -103,7 +103,7 @@ else() elseif(MSVC) add_compile_options(/W4 /WX /Od /wd4127) elseif(CMAKE_SYSTEM_NAME MATCHES "Generic") @@ -58,7 +61,7 @@ index 7a9fb6d1..97fba56a 100644 + add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -pipe -g) endif() endif() - --- + +-- 2.47.1 diff --git a/package/libzenoh-pico/libzenoh-pico.hash b/package/libzenoh-pico/libzenoh-pico.hash index 4f95f2215e..5bf924987a 100644 --- a/package/libzenoh-pico/libzenoh-pico.hash +++ b/package/libzenoh-pico/libzenoh-pico.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 c9002b4e348337c6fa522a2c80e175f512fa94d1837a9332fe095cf254e77242 libzenoh-pico-1.0.4.tar.gz +sha256 4033d3867a8e94e587355639de2ad9045c0a1ed0409c7901a93dbd2cf2d9308b libzenoh-pico-1.1.0.tar.gz sha256 d386df32cf327bbb25abe894277d3d7e0f447bafc59f4ad362615b0136f30db5 LICENSE diff --git a/package/libzenoh-pico/libzenoh-pico.mk b/package/libzenoh-pico/libzenoh-pico.mk index bd1dd763d6..e243ec64fe 100644 --- a/package/libzenoh-pico/libzenoh-pico.mk +++ b/package/libzenoh-pico/libzenoh-pico.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBZENOH_PICO_VERSION = 1.0.4 +LIBZENOH_PICO_VERSION = 1.1.0 LIBZENOH_PICO_SITE = $(call github,eclipse-zenoh,zenoh-pico,$(LIBZENOH_PICO_VERSION)) LIBZENOH_PICO_LICENSE = Apache-2.0 or EPL-2.0 LIBZENOH_PICO_LICENSE_FILES = LICENSE