svn commit: r433023 - head/net-im/jabber/files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 12:30:24 UTC 2017
Author: jbeich
Date: Wed Feb 1 12:30:22 2017
New Revision: 433023
URL: https://svnweb.freebsd.org/changeset/ports/433023
Log:
net-im/jabber: unbreak with clang 4.0
mod_privacy.cc:1168:19: error: ordered comparison between pointer and zero ('xmlnode_list_item'
(aka 'xmlnode_list_item_t *') and 'int')
if (new_items <= 0) {
~~~~~~~~~ ^ ~
Added:
head/net-im/jabber/files/patch-jsm_modules_mod__privacy.cc (contents, props changed)
Added: head/net-im/jabber/files/patch-jsm_modules_mod__privacy.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/jabber/files/patch-jsm_modules_mod__privacy.cc Wed Feb 1 12:30:22 2017 (r433023)
@@ -0,0 +1,11 @@
+--- jsm/modules/mod_privacy.cc.orig 2007-04-07 19:43:18 UTC
++++ jsm/modules/mod_privacy.cc
+@@ -1165,7 +1165,7 @@ static mreturn mod_privacy_out_iq_set_li
+ list_items++;
+ }
+
+- if (new_items <= 0) {
++ if (new_items == NULL) {
+ log_debug2(ZONE, LOGT_EXECFLOW, "This is a deletion request");
+ }
+
More information about the svn-ports-all
mailing list