summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/gypsy/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-04 17:36:19 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 11:26:45 (GMT)
commita4b61fb5e660d5cd2b428cb58eeabde01add485f (patch)
treeaed7b665816119210f27b159ee793e87a36f2cd2 /meta/recipes-connectivity/gypsy/files
parentf014269ea86391516fe28ecce52d223b7d78b5eb (diff)
downloadpoky-a4b61fb5e660d5cd2b428cb58eeabde01add485f.tar.gz
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>
Diffstat (limited to 'meta/recipes-connectivity/gypsy/files')
-rw-r--r--meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch16
1 files changed, 16 insertions, 0 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 0000000..d826970
--- /dev/null
+++ b/meta/recipes-connectivity/gypsy/files/fix-unused-but-set-variable-warning.patch
@@ -0,0 +1,16 @@
1Index: 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: