From: Jakub Jalowiczor Date: Mon, 7 Oct 2019 13:11:11 +0000 (-0400) Subject: poco: Minor changes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f386733833f75bb0fb7e64d3786ff97ca3e01843;p=feed%2Fpackages.git poco: Minor changes Signed-off-by: Jakub Jalowiczor --- diff --git a/libs/poco/Makefile b/libs/poco/Makefile index cf72807091..1496fcd5ba 100644 --- a/libs/poco/Makefile +++ b/libs/poco/Makefile @@ -31,7 +31,7 @@ define Package/poco CATEGORY:=Libraries TITLE:=Poco C++ libraries URL:=https://www.pocoproject.org/ - DEPENDS:=+libstdcpp +libpthread +librt @!arc + DEPENDS:=+libstdcpp +libpthread +librt +libopenssl @!arc MAINTAINER:=Jean-Michel Julien endef diff --git a/libs/poco/patches/100-configure.patch b/libs/poco/patches/100-configure.patch index 39a1198b43..01ceb67678 100644 --- a/libs/poco/patches/100-configure.patch +++ b/libs/poco/patches/100-configure.patch @@ -1,11 +1,15 @@ --- a/configure +++ b/configure -@@ -238,6 +238,6 @@ +@@ -237,9 +237,9 @@ while [ $# -ge 1 ]; do + ;; - *) -- showhelp -- exit 1 -+# showhelp -+# exit 1 - ;; - esac + *) +- showhelp +- exit 1 +- ;; ++# showhelp ++# exit 1 ++# ;; + esac + + shift diff --git a/libs/poco/patches/200-strerror.patch b/libs/poco/patches/200-strerror.patch index ca7e0858e5..0ff0ce5edc 100644 --- a/libs/poco/patches/200-strerror.patch +++ b/libs/poco/patches/200-strerror.patch @@ -3,10 +3,9 @@ @@ -70,7 +70,7 @@ namespace Poco { #if (_XOPEN_SOURCE >= 600) || POCO_OS == POCO_OS_ANDROID || __APPLE__ - setMessage(strerror_r(err, _buffer, sizeof(_buffer))); + setMessage(strerror_r(err, _buffer, sizeof(_buffer))); -#elif _GNU_SOURCE +#elif (_GNU_SOURCE && (defined __GLIBC__ || defined __UCLIBC__)) - setMessage(strerror_r(err, _buffer, sizeof(_buffer))); + setMessage(strerror_r(err, _buffer, sizeof(_buffer))); #else - setMessage(strerror(err)); - + setMessage(strerror(err));