aboutsummaryrefslogtreecommitdiff
path: root/comms/gammu/files/patch-common-device-serial-ser_unx.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gammu/files/patch-common-device-serial-ser_unx.c')
-rw-r--r--comms/gammu/files/patch-common-device-serial-ser_unx.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/gammu/files/patch-common-device-serial-ser_unx.c b/comms/gammu/files/patch-common-device-serial-ser_unx.c
new file mode 100644
index 000000000000..b5cc51630bab
--- /dev/null
+++ b/comms/gammu/files/patch-common-device-serial-ser_unx.c
@@ -0,0 +1,18 @@
+--- common/device/serial/ser_unx.c.orig Fri Aug 13 12:10:45 2004
++++ common/device/serial/ser_unx.c Fri Nov 26 16:25:16 2004
+@@ -230,6 +230,7 @@
+ case 57600: speed2 = B57600; break;
+ case 115200: speed2 = B115200; break;
+ case 230400: speed2 = B230400; break;
++#ifdef B460800
+ case 460800: speed2 = B460800; break;
+ #ifdef B500000
+ case 500000: speed2 = B500000; break;
+@@ -243,6 +244,7 @@
+ case 3000000: speed2 = B3000000; break;
+ case 3500000: speed2 = B3500000; break;
+ case 4000000: speed2 = B4000000; break;
++#endif
+ #endif
+ #endif
+ }