aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dee
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-01-24 22:57:37 +0800
committerdim <dim@FreeBSD.org>2016-01-24 22:57:37 +0800
commitc9f6fb0f9c6e8b412e3bbb1ca7e167d9cd2f4268 (patch)
tree4eea259164ea1c6de19bf808cca7a2130359a28a /devel/dee
parent182fa3cb526700d700c5828ae47e652725d2ef30 (diff)
downloadfreebsd-ports-gnome-c9f6fb0f9c6e8b412e3bbb1ca7e167d9cd2f4268.tar.gz
freebsd-ports-gnome-c9f6fb0f9c6e8b412e3bbb1ca7e167d9cd2f4268.tar.zst
freebsd-ports-gnome-c9f6fb0f9c6e8b412e3bbb1ca7e167d9cd2f4268.zip
Fix warnings from clang 3.8.0 about a non-parenthesized macro in
devel/dee. Approved by: olivierd (maintainer) PR: 206337
Diffstat (limited to 'devel/dee')
-rw-r--r--devel/dee/files/patch-src__dee-transaction.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/dee/files/patch-src__dee-transaction.c b/devel/dee/files/patch-src__dee-transaction.c
new file mode 100644
index 000000000000..268dbe6436b9
--- /dev/null
+++ b/devel/dee/files/patch-src__dee-transaction.c
@@ -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)