diff options
| -rw-r--r-- | meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch | 16 | ||||
| -rw-r--r-- | meta/recipes-connectivity/gypsy/gypsy_0.8.bb | 7 |
2 files changed, 20 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch b/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch new file mode 100644 index 0000000000..d826970880 --- /dev/null +++ b/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | Index: gypsy-0.8/gypsy/gypsy-time.c | ||
| 2 | =================================================================== | ||
| 3 | --- gypsy-0.8.orig/gypsy/gypsy-time.c | ||
| 4 | +++ gypsy-0.8/gypsy/gypsy-time.c | ||
| 5 | @@ -156,10 +156,10 @@ get_property (GObject *object, | ||
| 6 | GParamSpec *pspec) | ||
| 7 | { | ||
| 8 | GypsyTimePrivate *priv; | ||
| 9 | - | ||
| 10 | priv = GET_PRIVATE (object); | ||
| 11 | switch (prop_id) { | ||
| 12 | case PROP_PATH: | ||
| 13 | + g_value_set_string (value, priv->object_path); | ||
| 14 | break; | ||
| 15 | |||
| 16 | default: | ||
diff --git a/meta/recipes-connectivity/gypsy/gypsy_0.8.bb b/meta/recipes-connectivity/gypsy/gypsy_0.8.bb index ab7f6b086a..f3d3fa7c28 100644 --- a/meta/recipes-connectivity/gypsy/gypsy_0.8.bb +++ b/meta/recipes-connectivity/gypsy/gypsy_0.8.bb | |||
| @@ -13,9 +13,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | |||
| 13 | SECTION = "x11" | 13 | SECTION = "x11" |
| 14 | DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt" | 14 | DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt" |
| 15 | 15 | ||
| 16 | SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz" | 16 | SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz \ |
| 17 | 17 | file://fix-unused-but-set-variable-warning.patch \ | |
| 18 | PR = "r0" | 18 | " |
| 19 | PR = "r1" | ||
| 19 | 20 | ||
| 20 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig |
| 21 | 22 | ||
