Hello community, here is the log from the commit of package ModemManager for openSUSE:Factory checked in at 2012-02-16 12:24:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ModemManager (Old) and /work/SRC/openSUSE:Factory/.ModemManager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ModemManager", Maintainer is "tambet@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/ModemManager/ModemManager.changes 2012-01-20 20:25:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ModemManager.new/ModemManager.changes 2012-02-16 12:24:03.000000000 +0100 @@ -1,0 +2,8 @@ +Wed Feb 8 19:52:24 UTC 2012 - dimstar@opensuse.org + +- Add ModemManager-use-deprecated.patch: do not warn about using + deprecated methods. This allows to build against glib >= 2.31.14. +- Add call to autoreconf in %%prep section, as the patch above + touches m4 files. + +------------------------------------------------------------------- New: ---- ModemManager-use-deprecated.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ModemManager.spec ++++++ --- /var/tmp/diff_new_pack.zBqIhl/_old 2012-02-16 12:24:04.000000000 +0100 +++ /var/tmp/diff_new_pack.zBqIhl/_new 2012-02-16 12:24:04.000000000 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: ModemManager Version: 0.5.1.96 Release: 0 @@ -24,6 +23,8 @@ Group: Productivity/Networking/System Url: http://cgit.freedesktop.org/ModemManager/ModemManager Source0: http://download.gnome.org/sources/ModemManager/0.5/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM ModemManager-use-deprecated.patch dimstar@opensuse.org -- build: do not warn about using deprecated methods (git commit ff31122e) +Patch0: ModemManager-use-deprecated.patch BuildRequires: dbus-1-glib-devel BuildRequires: hicolor-icon-theme BuildRequires: intltool @@ -55,8 +56,11 @@ %prep %setup -q +%patch0 -p1 %build +# Needed for patch0 +autoreconf -fi pppddir=`ls -1d %{_libdir}/pppd/2*` test -n "$pppddir" || exit 1 %configure \ ++++++ ModemManager-use-deprecated.patch ++++++
From ff31122ebaed9e3de32a61b53118c73199865800 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado
Date: Tue, 07 Feb 2012 11:56:45 +0000 Subject: build: do not warn about using deprecated methods
GValueArray is deprecated since GLib 2.31.14, but we need to use it for dbus-glib based code. We should re-enable deprecation warnings once we switch to GDBus. --- diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4 index 6cea2f7..223da2d 100644 --- a/m4/compiler_warnings.m4 +++ b/m4/compiler_warnings.m4 @@ -10,7 +10,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \ -Wdeclaration-after-statement -Wstrict-prototypes \ -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \ - -fno-strict-aliasing; do + -fno-strict-aliasing -Wno-deprecated-declarations; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) -- cgit v0.9.0.2-2-gbebe -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org