geoclue: make this build with glib-2.32.

This commit is contained in:
Juan RP 2012-05-23 08:24:43 +02:00
parent 861041b245
commit ab69787453
2 changed files with 29 additions and 5 deletions

View file

@ -0,0 +1,23 @@
From 90669619d1d621080ef00dcb8db1c3d206ee0bfe Mon Sep 17 00:00:00 2001
From: Dan Williams <dcbw@redhat.com>
Date: Mon, 07 Mar 2011 23:46:15 +0000
Subject: master: Fix warning with GCC 4.6
---
diff --git a/src/master-provider.c b/src/master-provider.c
index 790c043..e4ea053 100644
--- src/master-provider.c
+++ src/master-provider.c
@@ -846,10 +846,6 @@ gc_master_provider_initialize_interfaces (GcMasterProvider *provider)
static gboolean
gc_master_provider_initialize (GcMasterProvider *provider)
{
- GcMasterProviderPrivate *priv;
-
- priv = GET_PRIVATE (provider);
-
if (!gc_master_provider_initialize_interfaces (provider)) {
return FALSE;
}
--
cgit v0.8.3-6-g21f6

View file

@ -15,6 +15,8 @@ long_desc="
subpackages="$pkgname-devel"
Add_dependency build automake
Add_dependency build gtk-doc
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build dbus-glib-devel
@ -22,11 +24,10 @@ Add_dependency build libxml2-devel
Add_dependency build GConf-devel
Add_dependency build libxslt
Add_dependency build gtk+-devel
Add_dependency build libsoup-devel
Add_dependency build libsoup-gnome-devel
pre_build()
{
# ETOOMANYWARNINGS
sed -i -e "s|-Werror||g" src/Makefile
pre_configure() {
sed -i 's/libnm_glib/libnm-glib/g' configure.ac
sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
autoreconf -fi
}