Hello community,

here is the log from the commit of package ModemManager for openSUSE:11.4
checked in at Fri Apr 29 17:33:24 CEST 2011.



--------
--- old-versions/11.4/all/ModemManager/ModemManager.changes     2011-02-13 
17:59:33.000000000 +0100
+++ 11.4/ModemManager/ModemManager.changes      2011-04-29 06:09:22.000000000 
+0200
@@ -1,0 +2,6 @@
+Wed Apr 27 16:03:21 UTC 2011 - [email protected]
+
+- Add mm-dismiss-spam-log.patch, dismiss the spam log of Huawei.
+  (bnc#674331, swampid#40503).
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/ModemManager
Destination is old-versions/11.4/UPDATES/all/ModemManager
calling whatdependson for 11.4-i586


New:
----
  mm-dismiss-spam-log.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ModemManager.spec ++++++
--- /var/tmp/diff_new_pack.ynobbw/_old  2011-04-29 17:33:03.000000000 +0200
+++ /var/tmp/diff_new_pack.ynobbw/_new  2011-04-29 17:33:03.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           ModemManager
 Version:        0.4
-Release:        4
+Release:        8.<RELEASE9>
 License:        LGPLv2.1+
 Summary:        DBus interface for modem handling
 Url:            http://cgit.freedesktop.org/ModemManager/ModemManager
@@ -29,6 +29,8 @@
 Patch0:         ModemManager-fix-new-glib.patch
 # PATCH-FIX-UPSTREAM ModemManager-polkit-deprecated.patch bgo#628105 
[email protected] -- Fix build with polkit >= 0.97
 Patch1:         ModemManager-polkit-deprecated.patch
+# PATCH-FIX-UPSTREAM mm-dismiss-spam-log.patch bnc#674331 [email protected] 
-- Dismiss the spam log of Huawei.
+Patch2:         mm-dismiss-spam-log.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
@@ -52,6 +54,7 @@
 %if 0%{?suse_version} >= 1140
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 pppddir=`ls -1d %{_libdir}/pppd/2*`

++++++ mm-dismiss-spam-log.patch ++++++
Index: ModemManager-0.4/plugins/mm-modem-huawei-gsm.c
===================================================================
--- ModemManager-0.4.orig/plugins/mm-modem-huawei-gsm.c
+++ ModemManager-0.4/plugins/mm-modem-huawei-gsm.c
@@ -27,6 +27,7 @@
 #include "mm-callback-info.h"
 #include "mm-at-serial-port.h"
 #include "mm-serial-parsers.h"
+#include "mm-options.h"
 
 static void modem_init (MMModem *modem_class);
 static void modem_gsm_network_init (MMModemGsmNetwork *gsm_network_class);
@@ -530,8 +531,10 @@ handle_status_change (MMAtSerialPort *po
 
     str = g_match_info_fetch (match_info, 1);
     if (sscanf (str, "%x,%x,%x,%x,%x,%x,%x", &n1, &n2, &n3, &n4, &n5, &n6, 
&n7)) {
-        g_debug ("Duration: %d Up: %d Kbps Down: %d Kbps Total: %d Total: 
%d\n",
-                 n1, n2 * 8 / 1000, n3  * 8 / 1000, n4 / 1024, n5 / 1024);
+               if (mm_options_debug ()) {
+                       g_debug ("Duration: %d Up: %d Kbps Down: %d Kbps Total: 
%d Total: %d\n",
+                                       n1, n2 * 8 / 1000, n3  * 8 / 1000, n4 / 
1024, n5 / 1024);
+               }
     }
     g_free (str);
 }

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to