Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2017 12:30:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433023 - head/net-im/jabber/files
Message-ID:  <201702011230.v11CUMII064829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");
+     }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011230.v11CUMII064829>