poco: Minor changes
authorJakub Jalowiczor <jaluwka@gmail.com>
Mon, 7 Oct 2019 13:11:11 +0000 (09:11 -0400)
committerJakub Jalowiczor <jaluwka@gmail.com>
Mon, 7 Oct 2019 13:14:00 +0000 (09:14 -0400)
Signed-off-by: Jakub Jalowiczor <jaluwka@gmail.com>
libs/poco/Makefile
libs/poco/patches/100-configure.patch
libs/poco/patches/200-strerror.patch

index cf72807091f6e4d512e5f251202401bb0454f304..1496fcd5ba767c3985e5bc1ff546758929d020e8 100644 (file)
@@ -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 <jean-michel.julien@trilliantinc.com>
 endef
 
index 39a1198b436c886eabda500caf7d4abf82d49844..01ceb67678b0135fd1d13943828914190a99d629 100644 (file)
@@ -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
index ca7e0858e5b25861cc11f652814fb915d89a27fc..0ff0ce5edc7ef7c2874f64f7c219371ca1dcb55f 100644 (file)
@@ -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));