From: | "Ned Ludd (solar)" <solar@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gpe-base/libeventdb/files: libeventdb-unbreak-LIVE-macro.patch |
Date: | Sun, 01 Mar 2009 00:23:24 |
Message-Id: | E1LdZSk-0001Gt-8J@stork.gentoo.org |
1 | solar 09/03/01 00:23:22 |
2 | |
3 | Added: libeventdb-unbreak-LIVE-macro.patch |
4 | Log: |
5 | Initial commit |
6 | (Portage version: 2.1.6.7/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/libeventdb/files/libeventdb-unbreak-LIVE-macro.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libeventdb-unbreak-LIVE-macro.patch |
15 | =================================================================== |
16 | --- libeventdb-0.90/event.h.orig 2008-03-13 23:05:10.000000000 -0700 |
17 | +++ libeventdb-0.90/event.h 2008-03-13 23:05:40.000000000 -0700 |
18 | @@ -130,7 +130,7 @@ extern GSList *event_list (EventSource * |
19 | GError **error) |
20 | __attribute__ ((visibility ("hidden"))); |
21 | |
22 | -#define LIVE(ev) (g_assert (! EVENT (ev)->dead)) |
23 | +#define LIVE(ev) G_STMT_START { g_assert (! EVENT (ev)->dead); } G_STMT_END |
24 | |
25 | /* Marks the event as well as the calendar in which lives as |
26 | modified. */ |