[geoclue] Remove -Werror from CFLAGS
Kalev Lember
kalev at fedoraproject.org
Thu Mar 1 16:42:17 UTC 2012
commit fcc361768f09880a3aef1a1beda918146492ebc8
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Mar 1 18:26:04 2012 +0200
Remove -Werror from CFLAGS
... fixing build with recent glib deprecation warnings.
geoclue.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/geoclue.spec b/geoclue.spec
index bda6f27..9d42a84 100644
--- a/geoclue.spec
+++ b/geoclue.spec
@@ -88,6 +88,9 @@ A gsmloc provider for geoclue
%patch2 -p1 -b .unused-var
%patch3 -p1 -b .g_thread_init
+# Remove -Werror from CFLAGS
+sed -i -e '/^CFLAGS/ s/ -Werror//' configure*
+
# Need this for the NM-0.8 patch
libtoolize
gtkdocize
@@ -180,6 +183,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Mar 01 2012 Kalev Lember <kalevlember at gmail.com> - 0.12.0-10
- Add patch to fix build with glib threading changes
+- Remove -Werror from CFLAGS
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list