Date: Sun, 24 Jan 2016 14:57:37 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407133 - head/devel/dee/files Message-ID: <201601241457.u0OEvb8Z092817@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim (src committer) Date: Sun Jan 24 14:57:37 2016 New Revision: 407133 URL: https://svnweb.freebsd.org/changeset/ports/407133 Log: Fix warnings from clang 3.8.0 about a non-parenthesized macro in devel/dee. Approved by: olivierd (maintainer) PR: 206337 Added: head/devel/dee/files/ head/devel/dee/files/patch-src__dee-transaction.c (contents, props changed) Added: head/devel/dee/files/patch-src__dee-transaction.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dee/files/patch-src__dee-transaction.c Sun Jan 24 14:57:37 2016 (r407133) @@ -0,0 +1,11 @@ +--- src/dee-transaction.c.orig 2012-11-28 09:46:41.000000000 +0100 ++++ src/dee-transaction.c 2016-01-17 15:50:39.997965000 +0100 +@@ -233,7 +233,7 @@ journal_iter_free (JournalIter *jiter) + g_slice_free (JournalIter, jiter); + } + +-#define journal_iter_is_removed(jiter) jiter->change_type == CHANGE_TYPE_REMOVE ++#define journal_iter_is_removed(jiter) (jiter->change_type == CHANGE_TYPE_REMOVE) + + static JournalSegment* + journal_segment_new_before (DeeModelIter *iter, DeeTransaction *txn)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601241457.u0OEvb8Z092817>