Hello community,

here is the log from the commit of package gypsy for openSUSE:Factory
checked in at Thu May 5 16:12:52 CEST 2011.



--------
--- gypsy/gypsy.changes 2010-08-13 09:54:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/gypsy/gypsy.changes    2011-05-04 
13:15:57.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May  4 11:13:13 UTC 2011 - [email protected]
+
+- Add gypsy-0.8-gcc46.patch: mark variable as unused to fix gcc 4.6
+  compilation 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gypsy-0.8-gcc46.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gypsy.spec ++++++
--- /var/tmp/diff_new_pack.lzMs6L/_old  2011-05-05 16:12:33.000000000 +0200
+++ /var/tmp/diff_new_pack.lzMs6L/_new  2011-05-05 16:12:33.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package gypsy (Version 0.8)
+# spec file for package gypsy
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,14 @@
 
 Name:           gypsy
 Version:        0.8
-Release:        1
+Release:        5
 License:        LGPLv2.1
 Summary:        GPS multiplexing daemon
 Url:            http://gypsy.freedesktop.org/
 Group:          Hardware/Other
 Source0:        %{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM gypsy-0.8-gcc46.patch [email protected] -- Fix gcc 4.6 
compilation
+Patch1:         gypsy-0.8-gcc46.patch
 BuildRequires:  bluez-devel
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  glib2-devel
@@ -72,6 +74,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure --disable-static

++++++ gypsy-0.8-gcc46.patch ++++++
diff -up gypsy-0.8/gypsy/gypsy-time.c.unusedvar gypsy-0.8/gypsy/gypsy-time.c
--- gypsy-0.8/gypsy/gypsy-time.c.unusedvar      2011-03-13 12:12:43.000000000 
+0000
+++ gypsy-0.8/gypsy/gypsy-time.c        2011-03-13 12:23:38.000000000 +0000
@@ -155,7 +155,9 @@ get_property (GObject    *object,
              GValue     *value,
              GParamSpec *pspec)
 {
-       GypsyTimePrivate *priv;
+    /* KH: gcc complains about unused var, not sure if GET_PRIVATE hasn't some 
side effects, 
+     * marking that as unused only so that gcc doesn't bail out anymore */
+       __attribute__((__unused__)) GypsyTimePrivate *priv;
 
        priv = GET_PRIVATE (object);
        switch (prop_id) {

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to