Browse Source

poco: Minor changes

Signed-off-by: Jakub Jalowiczor <jaluwka@gmail.com>
lilik-openwrt-22.03
Jakub Jalowiczor 5 years ago
parent
commit
f386733833
3 changed files with 16 additions and 13 deletions
  1. +1
    -1
      libs/poco/Makefile
  2. +12
    -8
      libs/poco/patches/100-configure.patch
  3. +3
    -4
      libs/poco/patches/200-strerror.patch

+ 1
- 1
libs/poco/Makefile View 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


+ 12
- 8
libs/poco/patches/100-configure.patch View 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

+ 3
- 4
libs/poco/patches/200-strerror.patch View 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));

Loading…
Cancel
Save