Browse Source

Merge pull request #6595 from MikePetullo/loudmouth

loudmouth: fix build
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
81c61b7ff2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions
  1. +1
    -1
      libs/loudmouth/Makefile
  2. +12
    -0
      libs/loudmouth/patches/002-fix-comparison.patch

+ 1
- 1
libs/loudmouth/Makefile View File

@ -31,7 +31,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/loudmouth define Package/loudmouth
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEPENDS:=+glib2 +libopenssl
DEPENDS:=+glib2 +libopenssl +PACKAGE_krb5-libs:krb5-libs
TITLE:=loudmouth TITLE:=loudmouth
URL:=https://github.com/mcabber/loudmouth URL:=https://github.com/mcabber/loudmouth
endef endef


+ 12
- 0
libs/loudmouth/patches/002-fix-comparison.patch View File

@ -0,0 +1,12 @@
diff -u --recursive loudmouth-1.5.3-vanilla/loudmouth/lm-sasl.c loudmouth-1.5.3/loudmouth/lm-sasl.c
--- loudmouth-1.5.3-vanilla/loudmouth/lm-sasl.c 2018-07-27 22:42:03.250616281 -0400
+++ loudmouth-1.5.3/loudmouth/lm-sasl.c 2018-07-27 22:42:26.756659723 -0400
@@ -529,7 +529,7 @@
}
nonce = g_hash_table_lookup (challenge, "nonce");
- if (nonce == NULL || nonce == '\0') {
+ if (nonce == NULL || *nonce == '\0') {
g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL,
"%s: server didn't provide a nonce in the challenge",
G_STRFUNC);

Loading…
Cancel
Save