mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
loudmouth: Disable debug and fix no deprecated API compilation
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=loudmouth
|
PKG_NAME:=loudmouth
|
||||||
PKG_VERSION:=1.5.3
|
PKG_VERSION:=1.5.3
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/mcabber/loudmouth/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/mcabber/loudmouth/tar.gz/$(PKG_VERSION)?
|
||||||
@@ -38,10 +38,15 @@ define Package/loudmouth/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
--disable-debug \
|
||||||
--without-compile-warnings \
|
--without-compile-warnings \
|
||||||
--without-idn \
|
--without-idn \
|
||||||
--with-ssl=openssl
|
--with-ssl=openssl
|
||||||
|
|
||||||
|
CONFIGURE_VARS += \
|
||||||
|
ac_cv_lib_crypto_BIO_f_base64=yes \
|
||||||
|
ac_cv_lib_ssl_SSL_new=yes
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/
|
$(INSTALL_DIR) $(1)/usr/include/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
--- a/loudmouth/lm-ssl-openssl.c
|
||||||
|
+++ b/loudmouth/lm-ssl-openssl.c
|
||||||
|
@@ -345,9 +345,11 @@ _lm_ssl_initialize (LmSSL *ssl)
|
||||||
|
/*const char *cert_file = NULL;*/
|
||||||
|
|
||||||
|
if (!initialized) {
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
SSL_library_init();
|
||||||
|
/* FIXME: Is this needed when we are not in debug? */
|
||||||
|
SSL_load_error_strings();
|
||||||
|
+#endif
|
||||||
|
initialized = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user