[gypsy] update patch
Peter Robinson
pbrobinson at fedoraproject.org
Sun May 19 17:25:46 UTC 2013
commit adc6df22537b4319b61ae57221e5c26262304289
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Sun May 19 18:25:37 2013 +0100
update patch
gypsy-0.9-gtypeinit.patch | 51 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/gypsy-0.9-gtypeinit.patch b/gypsy-0.9-gtypeinit.patch
index 1d7692e..fbe4716 100644
--- a/gypsy-0.9-gtypeinit.patch
+++ b/gypsy-0.9-gtypeinit.patch
@@ -10,3 +10,54 @@
mainloop = g_main_loop_new (NULL, FALSE);
+--- gypsy-0.9/examples/list-known-gps-devices.c.orig 2013-05-19 18:20:12.719833223 +0100
++++ gypsy-0.9/examples/list-known-gps-devices.c 2013-05-19 18:21:04.714404534 +0100
+@@ -21,7 +21,9 @@
+ GPtrArray *known_devices;
+ int i;
+
++#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 35)
+ g_type_init ();
++#endif
+
+ discovery = gypsy_discovery_new ();
+ known_devices = gypsy_discovery_list_devices (discovery, &error);
+--- gypsy-0.9/examples/simple-gps-dbus.c.orig 2013-05-19 18:21:21.712591296 +0100
++++ gypsy-0.9/examples/simple-gps-dbus.c 2013-05-19 18:22:36.394411761 +0100
+@@ -122,7 +122,9 @@
+ DBusError error;
+ GMainLoop *mainloop;
+
+- g_type_init ();
++#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 35)
++ g_type_init ();
++#endif
+ conn = get_connection ();
+
+ dbus_error_init (&error);
+--- gypsy-0.9/examples/simple-gps-gypsy.c.orig 2013-05-19 18:21:29.829680477 +0100
++++ gypsy-0.9/examples/simple-gps-gypsy.c 2013-05-19 18:22:57.716645989 +0100
+@@ -68,7 +68,9 @@
+ return 0;
+ }
+
+- g_type_init ();
++#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 35)
++ g_type_init ();
++#endif
+
+ control = gypsy_control_get_default ();
+ path = gypsy_control_create (control, argv[1], &error);
+--- gypsy-0.9/examples/simple-gps-satellites.c.orig 2013-05-19 18:21:38.097771316 +0100
++++ gypsy-0.9/examples/simple-gps-satellites.c 2013-05-19 18:23:09.356773853 +0100
+@@ -43,7 +43,9 @@
+ return 0;
+ }
+
+- g_type_init ();
++#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 35)
++ g_type_init ();
++#endif
+
+ control = gypsy_control_get_default ();
+ path = gypsy_control_create (control, argv[1], &error);
More information about the scm-commits
mailing list