msgpack-c: Update to 6.0.0
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 7 Mar 2023 02:50:02 +0000 (10:50 +0800)
committerPaul Spooren <mail@aparcar.org>
Wed, 8 Mar 2023 22:49:10 +0000 (23:49 +0100)
Removed 010-no-gtest.patch as upstream no longer detects it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
libs/msgpack-c/Makefile
libs/msgpack-c/patches/010-no-gtest.patch [deleted file]

index d2d20fe9eacb76d333e01d145abfdbe4a895f5ce..7cdaae73a0035ee490d432624ba34db89de3ebf8 100644 (file)
@@ -5,12 +5,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=msgpack-c
-PKG_VERSION:=5.0.0
+PKG_VERSION:=6.0.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/msgpack/msgpack-c/tar.gz/c-$(PKG_VERSION)?
-PKG_HASH:=a61288a9a46fd3b3b4cbd48a17736a9568b65419141cb536833f9adfe8fc97d7
+PKG_HASH:=af6f3cf25edb220aa2140b09bb5bdd73ddf00938194bd94ebe5c92090cccb466
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-c-$(PKG_VERSION)
 
 PKG_LICENSE:=BSL-1.0
@@ -46,7 +46,7 @@ endef
 
 define Package/msgpack-c/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmsgpackc.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmsgpack-c.so* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,msgpack-c))
diff --git a/libs/msgpack-c/patches/010-no-gtest.patch b/libs/msgpack-c/patches/010-no-gtest.patch
deleted file mode 100644 (file)
index 7bb4dbe..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -74,7 +74,6 @@ IF (MSGPACK_CHAR_SIGN)
-    SET (CMAKE_C_FLAGS "-f${MSGPACK_CHAR_SIGN}-char ${CMAKE_C_FLAGS}")
- ENDIF ()
--FIND_PACKAGE (GTest)
- FIND_PACKAGE (ZLIB)
- FIND_PACKAGE (Threads)
- IF (GTEST_FOUND AND ZLIB_FOUND AND THREADS_FOUND)