SOURCES: gammu-sparc-speeds.patch - updated for 1.02.0, use ifdef ...

qboosh qboosh at pld-linux.org
Sat Oct 29 16:43:15 CEST 2005


Author: qboosh                       Date: Sat Oct 29 14:43:15 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.02.0, use ifdef to allow using it everywhere

---- Files affected:
SOURCES:
   gammu-sparc-speeds.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gammu-sparc-speeds.patch
diff -u SOURCES/gammu-sparc-speeds.patch:1.1 SOURCES/gammu-sparc-speeds.patch:1.2
--- SOURCES/gammu-sparc-speeds.patch:1.1	Fri Feb 18 08:10:48 2005
+++ SOURCES/gammu-sparc-speeds.patch	Sat Oct 29 16:43:10 2005
@@ -1,13 +1,18 @@
---- gammu-1.00.0/common/device/serial/ser_unx.c.orig	2005-02-18 07:58:19.223641376 +0100
-+++ gammu-1.00.0/common/device/serial/ser_unx.c	2005-02-18 08:00:14.629097080 +0100
-@@ -249,10 +249,6 @@
+--- gammu-1.02.0/common/device/serial/ser_unx.c.orig	2005-05-03 12:32:34.000000000 +0000
++++ gammu-1.02.0/common/device/serial/ser_unx.c	2005-10-29 14:41:14.291744934 +0000
+@@ -249,6 +249,7 @@
  		case 1152000:	speed2 = B1152000;	break;
  		case 1500000:	speed2 = B1500000;	break;
  		case 2000000:	speed2 = B2000000;	break;
--		case 2500000:	speed2 = B2500000;	break;
--		case 3000000:	speed2 = B3000000;	break;
--		case 3500000:	speed2 = B3500000;	break;
--		case 4000000:	speed2 = B4000000;	break;	
++#ifdef B2500000
+ 		case 2500000:	speed2 = B2500000;	break;
+ 		case 3000000:	speed2 = B3000000;	break;
+ 		case 3500000:	speed2 = B3500000;	break;
+@@ -256,6 +257,7 @@
  #endif
  #endif
  #endif
++#endif
+ 	}
+ 
+     	/* This should work on all systems because it is done according to POSIX */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gammu-sparc-speeds.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list