gypsy_0.8.bb: Fix build with gcc 4.6

(From OE-Core rev: f4bfa18e15776f667f22c0afaaf9d8dedd02c43d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2011-05-04 10:36:19 -07:00 committed by Richard Purdie
parent f014269ea8
commit a4b61fb5e6
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,16 @@
Index: gypsy-0.8/gypsy/gypsy-time.c
===================================================================
--- gypsy-0.8.orig/gypsy/gypsy-time.c
+++ gypsy-0.8/gypsy/gypsy-time.c
@@ -156,10 +156,10 @@ get_property (GObject *object,
GParamSpec *pspec)
{
GypsyTimePrivate *priv;
-
priv = GET_PRIVATE (object);
switch (prop_id) {
case PROP_PATH:
+ g_value_set_string (value, priv->object_path);
break;
default:

View File

@ -13,9 +13,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
SECTION = "x11"
DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt"
SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz"
PR = "r0"
SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz \
file://fix-unused-but-set-variable-warning.patch \
"
PR = "r1"
inherit autotools pkgconfig