diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-03-18 18:07:51 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-03-18 18:07:51 +0000 |
commit | 1ae44d3816762cfc8b2f05dc18d0b15e605bac5a (patch) | |
tree | 378bf79768d3e73e9936559e89fe567fa46d1888 /packages/libeventdb | |
parent | f68f0ea7cad972fd0cbc89f95b24d5a2ebf55f5f (diff) |
Fix libeventdb compilation error. Patch from Andrew Paulsen
Diffstat (limited to 'packages/libeventdb')
-rw-r--r-- | packages/libeventdb/libeventdb-0.90/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch | 11 | ||||
-rw-r--r-- | packages/libeventdb/libeventdb_0.90.bb | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/packages/libeventdb/libeventdb-0.90/.mtn2git_empty b/packages/libeventdb/libeventdb-0.90/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libeventdb/libeventdb-0.90/.mtn2git_empty diff --git a/packages/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch b/packages/libeventdb/libeventdb-0.90/libeventdb-unbreak-LIVE-macro.patch new file mode 100644 index 0000000000..e5da0afc89 --- /dev/null +++ b/packages/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. */ diff --git a/packages/libeventdb/libeventdb_0.90.bb b/packages/libeventdb/libeventdb_0.90.bb index 1c9d3ab4bc..f26780ccea 100644 --- a/packages/libeventdb/libeventdb_0.90.bb +++ b/packages/libeventdb/libeventdb_0.90.bb @@ -1,3 +1,4 @@ require libeventdb.inc -PR = "r1" +PR = "r2" +SRC_URI += "file://libeventdb-unbreak-LIVE-macro.patch;patch=1" |