Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
geoclue
geoclue-glib-2.31.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geoclue-glib-2.31.patch of Package geoclue
From a3807892767cd6d058462464bca790c97d7e9b7a Mon Sep 17 00:00:00 2001 From: Vincent Untz <vuntz@gnome.org> Date: Tue, 31 Jan 2012 11:00:03 +0100 Subject: [PATCH] skyhook: Only call g_thread_init on glib < 2.31.0 g_thread_init() is not needed anymore starting with glib 2.31, and it makes the build fail because of -Werror and deprecations. --- providers/skyhook/geoclue-skyhook.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/providers/skyhook/geoclue-skyhook.c b/providers/skyhook/geoclue-skyhook.c index 5af7b45..0f675a1 100644 --- a/providers/skyhook/geoclue-skyhook.c +++ b/providers/skyhook/geoclue-skyhook.c @@ -289,7 +289,9 @@ int main() { g_type_init(); +#if !GLIB_CHECK_VERSION(2,31,0) g_thread_init (NULL); +#endif GeoclueSkyhook *o = g_object_new (GEOCLUE_TYPE_SKYHOOK, NULL); o->loop = g_main_loop_new (NULL, TRUE); -- 1.7.8.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor