rpms/gnome-phone-manager/devel gpm-fix-serial.patch, NONE, 1.1 gnome-phone-manager.spec, 1.18, 1.19

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Fri Mar 14 17:55:55 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/gnome-phone-manager/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32064

Modified Files:
	gnome-phone-manager.spec 
Added Files:
	gpm-fix-serial.patch 
Log Message:
* Fri Mar 14 2008 - Bastien Nocera <bnocera at redhat.com> - 0.50-3
- Add a patch from upstream to fix connection to serial devices (#356861)


gpm-fix-serial.patch:

--- NEW FILE gpm-fix-serial.patch ---
Index: libgsm/phonemgr-utils.c
===================================================================
--- libgsm/phonemgr-utils.c	(revision 281)
+++ libgsm/phonemgr-utils.c	(working copy)
@@ -109,7 +109,7 @@
 {
 	struct stat buf;
 
-	if (g_stat (addr, &buf) > 0 && S_ISCHR (buf.st_mode)) {
+	if (g_stat (addr, &buf) == 0 && S_ISCHR (buf.st_mode)) {
 		//FIXME this could also be IrDA
 		return PHONEMGR_CONNECTION_SERIAL;
 	} else if (bachk (addr) == 0) {


Index: gnome-phone-manager.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-phone-manager/devel/gnome-phone-manager.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gnome-phone-manager.spec	10 Mar 2008 13:23:35 -0000	1.18
+++ gnome-phone-manager.spec	14 Mar 2008 17:55:22 -0000	1.19
@@ -1,7 +1,7 @@
 Name:		gnome-phone-manager
 Summary:	Gnome Phone Manager
 Version: 	0.50
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 License: 	GPLv2+
 Group: 		Applications/System
 Source:		http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/%{version}/%{name}-%{version}.tar.bz2
@@ -25,6 +25,8 @@
 
 # https://bugzilla.redhat.com/show_bug.cgi?id=436773
 Patch1:		gpm-telepathy-workaround.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=356861
+Patch2:		gpm-fix-serial.patch
 
 %description
 This program will connect to your mobile phone over a serial port,
@@ -48,6 +50,7 @@
 %prep
 %setup -q
 %patch1 -p0 -b .telepathy-cflags
+%patch2 -p0 -b .fix-serial
 
 %build
 %configure
@@ -109,6 +112,9 @@
 %{_datadir}/mission-control/profiles/*
 
 %changelog
+* Fri Mar 14 2008 - Bastien Nocera <bnocera at redhat.com> - 0.50-3
+- Add a patch from upstream to fix connection to serial devices (#356861)
+
 * Mon Mar 10 2008 - Bastien Nocera <bnocera at redhat.com> - 0.50-2
 - Work-around for telepathy brokeness
 




More information about the fedora-extras-commits mailing list