poco: Minor changes

Signed-off-by: Jakub Jalowiczor <jaluwka@gmail.com>
This commit is contained in:
Jakub Jalowiczor 2019-10-07 09:11:11 -04:00
parent d9106a3a90
commit f386733833
3 changed files with 16 additions and 13 deletions

View file

@ -31,7 +31,7 @@ define Package/poco
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=Poco C++ libraries TITLE:=Poco C++ libraries
URL:=https://www.pocoproject.org/ URL:=https://www.pocoproject.org/
DEPENDS:=+libstdcpp +libpthread +librt @!arc DEPENDS:=+libstdcpp +libpthread +librt +libopenssl @!arc
MAINTAINER:=Jean-Michel Julien <jean-michel.julien@trilliantinc.com> MAINTAINER:=Jean-Michel Julien <jean-michel.julien@trilliantinc.com>
endef endef

View file

@ -1,11 +1,15 @@
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -238,6 +238,6 @@ @@ -237,9 +237,9 @@ while [ $# -ge 1 ]; do
;;
*) *)
- showhelp - showhelp
- exit 1 - exit 1
+# showhelp - ;;
+# exit 1 +# showhelp
;; +# exit 1
esac +# ;;
esac
shift

View file

@ -3,10 +3,9 @@
@@ -70,7 +70,7 @@ namespace Poco { @@ -70,7 +70,7 @@ namespace Poco {
#if (_XOPEN_SOURCE >= 600) || POCO_OS == POCO_OS_ANDROID || __APPLE__ #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
+#elif (_GNU_SOURCE && (defined __GLIBC__ || defined __UCLIBC__)) +#elif (_GNU_SOURCE && (defined __GLIBC__ || defined __UCLIBC__))
setMessage(strerror_r(err, _buffer, sizeof(_buffer))); setMessage(strerror_r(err, _buffer, sizeof(_buffer)));
#else #else
setMessage(strerror(err)); setMessage(strerror(err));