[Pkg-utopia-commits] r3151 - in /packages/unstable/networkmanager/debian: changelog patches/05-response-buffer-filled.patch patches/series

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Wed Jul 8 20:15:19 UTC 2009


Author: smcv
Date: Wed Jul  8 20:15:19 2009
New Revision: 3151

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3151
Log:
debian/patches/05-response-buffer-filled.patch: new, from upstream git
0.7 branch. Fixes "response buffer filled before repsonse received" (sic)
during communication with serial modems.

Added:
    packages/unstable/networkmanager/debian/patches/05-response-buffer-filled.patch
Modified:
    packages/unstable/networkmanager/debian/changelog
    packages/unstable/networkmanager/debian/patches/series

Modified: packages/unstable/networkmanager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/networkmanager/debian/changelog?rev=3151&op=diff
==============================================================================
--- packages/unstable/networkmanager/debian/changelog (original)
+++ packages/unstable/networkmanager/debian/changelog Wed Jul  8 20:15:19 2009
@@ -8,6 +8,11 @@
   [ Sjoerd Simons ]
   * debian/control
     - Add libnm-util-dev to the depends of libnm-glib-dev
+
+  [ Simon McVittie ]
+  * debian/patches/05-response-buffer-filled.patch: new, from upstream git
+    0.7 branch. Fixes "response buffer filled before repsonse received" (sic)
+    during communication with serial modems.
 
  -- Sjoerd Simons <sjoerd at debian.org>  Tue, 30 Jun 2009 16:18:28 +0100
 

Added: packages/unstable/networkmanager/debian/patches/05-response-buffer-filled.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/networkmanager/debian/patches/05-response-buffer-filled.patch?rev=3151&op=file
==============================================================================
--- packages/unstable/networkmanager/debian/patches/05-response-buffer-filled.patch (added)
+++ packages/unstable/networkmanager/debian/patches/05-response-buffer-filled.patch Wed Jul  8 20:15:19 2009
@@ -1,0 +1,19 @@
+commit 793cc30b5d20d728719c568f5bfac98f3bca3dca
+Author: Robert Piasek <robert at piasek.co.uk>
+Date:   2009-06-22 11:57:28 -0400
+
+    serial: fix serial port settings bug caused by 31a34fa7ffbceb79d5e6c16158e5dcce285dcff1
+
+diff --git a/src/nm-serial-device.c b/src/nm-serial-device.c
+index 54dd176..ad481d3 100644
+--- a/src/nm-serial-device.c
++++ b/src/nm-serial-device.c
+@@ -368,7 +368,7 @@ config_fd (NMSerialDevice *device, NMSettingSerial *setting)
+ 	stbuf.c_cflag &= ~(CBAUD | CSIZE | CSTOPB | CLOCAL | PARENB);
+ 	stbuf.c_cflag |= (speed | bits | CREAD | 0 | parity | stopbits);
+ 
+-	if (tcgetattr (priv->fd, &stbuf) < 0) {
++	if (tcsetattr (priv->fd, TCSANOW, &stbuf) < 0) {
+ 		nm_warning ("(%s) cannot control device (errno %d)",
+ 		            nm_device_get_iface (NM_DEVICE (device)), errno);
+ 		return FALSE;

Modified: packages/unstable/networkmanager/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/networkmanager/debian/patches/series?rev=3151&op=diff
==============================================================================
--- packages/unstable/networkmanager/debian/patches/series (original)
+++ packages/unstable/networkmanager/debian/patches/series Wed Jul  8 20:15:19 2009
@@ -2,3 +2,4 @@
 #03-F3507g.patch
 #20-manual_means_always_online.patch
 04-struct_termios.patch
+05-response-buffer-filled.patch




More information about the Pkg-utopia-commits mailing list