From ed6781bef172384d84ce05d66a742676b809b828 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 7 Aug 2021 20:52:51 -0700 Subject: [PATCH] poco: update to 1.11.0 Refresh patches and fix strerror one. uClibc also defines __GLIBC__. Signed-off-by: Rosen Penev --- libs/poco/Makefile | 6 +++--- libs/poco/patches/100-configure.patch | 2 +- libs/poco/patches/200-strerror.patch | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/poco/Makefile b/libs/poco/Makefile index adb6fa187..1f431db0f 100644 --- a/libs/poco/Makefile +++ b/libs/poco/Makefile @@ -9,15 +9,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=poco -PKG_VERSION:=1.10.1 +PKG_VERSION:=1.11.0 PKG_RELEASE:=$(AUTORELEASE) ifeq ($(BUILD_VARIANT),all) _PKG_VERSION:=${PKG_VERSION}-all -PKG_HASH:=2cde4b50778013ab3b7a522aa59bccaa7e85a8ccfc654a354c4d9611b6ce1758 +PKG_HASH:=b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1 else _PKG_VERSION:=${PKG_VERSION} -PKG_HASH:=cdab379d7d0394a763821d058eee1e7d4d8214a3caec05c775b60962b2f20762 +PKG_HASH:=06ddc4934ff0a11be425d697f861c15b43b77b610e3642a2f85d0c34d7425ea4 endif PKG_SOURCE:=$(PKG_NAME)-$(_PKG_VERSION).tar.bz2 diff --git a/libs/poco/patches/100-configure.patch b/libs/poco/patches/100-configure.patch index 01ceb6767..389acb6ab 100644 --- a/libs/poco/patches/100-configure.patch +++ b/libs/poco/patches/100-configure.patch @@ -1,6 +1,6 @@ --- a/configure +++ b/configure -@@ -237,9 +237,9 @@ while [ $# -ge 1 ]; do +@@ -249,9 +249,9 @@ while [ $# -ge 1 ]; do ;; *) diff --git a/libs/poco/patches/200-strerror.patch b/libs/poco/patches/200-strerror.patch index 4c780b34d..b1cb708e7 100644 --- a/libs/poco/patches/200-strerror.patch +++ b/libs/poco/patches/200-strerror.patch @@ -5,7 +5,7 @@ #if (_XOPEN_SOURCE >= 600) || POCO_OS == POCO_OS_ANDROID || __APPLE__ setMessage(strerror_r(err, _buffer, sizeof(_buffer))); -#elif _GNU_SOURCE -+#elif (_GNU_SOURCE && (defined __GLIBC__ || defined __UCLIBC__)) ++#elif (defined(_GNU_SOURCE) && defined(__GLIBC__)) setMessage(strerror_r(err, _buffer, sizeof(_buffer))); #else setMessage(strerror(err));