mirror of
https://github.com/openwrt/packages.git
synced 2025-12-27 08:50:00 +04:00
monit: enable / fix IPv6 detection during build
thanks to @val-kulkov for noticing
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 7cc74e4d8b)
This commit is contained in:
committed by
Rosen Penev
parent
4e3d6eca20
commit
9eca2ae771
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=monit
|
||||
PKG_VERSION:=5.25.2
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://mmonit.com/monit/dist
|
||||
@@ -63,6 +63,7 @@ endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--without-pam \
|
||||
ac_cv_ipv6=$(if $(CONFIG_IPV6),yes,no) \
|
||||
libmonit_cv_setjmp_available=yes \
|
||||
libmonit_cv_vsnprintf_c99_conformant=yes
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
diff --git a/src/ssl/Ssl.c b/src/ssl/Ssl.c
|
||||
index 6501f25..9c24ad5 100644
|
||||
--- a/src/ssl/Ssl.c
|
||||
+++ b/src/ssl/Ssl.c
|
||||
@@ -302,8 +302,8 @@ static boolean_t _retry(int socket, int *timeout, int (*callback)(int socket, ti
|
||||
@@ -302,8 +302,8 @@ static boolean_t _retry(int socket, int
|
||||
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
Reference in New Issue
Block a user