aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch')
-rw-r--r--recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch b/recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch
new file mode 100644
index 0000000000..e5da0afc89
--- /dev/null
+++ b/recipes/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch
@@ -0,0 +1,11 @@
+--- libeventdb-0.90/event.h.orig 2008-03-13 23:05:10.000000000 -0700
++++ libeventdb-0.90/event.h 2008-03-13 23:05:40.000000000 -0700
+@@ -130,7 +130,7 @@ extern GSList *event_list (EventSource *
+ GError **error)
+ __attribute__ ((visibility ("hidden")));
+
+-#define LIVE(ev) (g_assert (! EVENT (ev)->dead))
++#define LIVE(ev) G_STMT_START { g_assert (! EVENT (ev)->dead); } G_STMT_END
+
+ /* Marks the event as well as the calendar in which lives as
+ modified. */