summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdeedu/files/kdeedu-3.2.0_beta2-sparc-lx200.patch')
-rw-r--r--kde-base/kdeedu/files/kdeedu-3.2.0_beta2-sparc-lx200.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/kde-base/kdeedu/files/kdeedu-3.2.0_beta2-sparc-lx200.patch b/kde-base/kdeedu/files/kdeedu-3.2.0_beta2-sparc-lx200.patch
new file mode 100644
index 000000000000..b015a1dccddb
--- /dev/null
+++ b/kde-base/kdeedu/files/kdeedu-3.2.0_beta2-sparc-lx200.patch
@@ -0,0 +1,18 @@
+Index: lx200driver.c
+===================================================================
+RCS file: /home/kdecvs/kde/kdeedu/kstars/kstars/indi/lx200driver.c,v
+retrieving revision 1.11
+diff -u -3 -p -r1.11 kstars/kstars/indi/lx200driver.c
+--- lx200driver.c 3 Sep 2003 18:34:41 -0000 1.11
++++ kstars/kstars/indi/lx200driver.c 21 Dec 2003 16:34:51 -0000
+@@ -955,8 +955,8 @@ int openPort(const char *portID)
+ ttyOptions.c_cflag &= ~PARENB;
+
+ /* set baud rate */
+- ttyOptions.c_ispeed = B9600;
+- ttyOptions.c_ospeed = B9600;
++ cfsetispeed(&ttyOptions, B9600);
++ cfsetospeed(&ttyOptions, B9600);
+
+ /* set input/output flags */
+ ttyOptions.c_iflag = IGNBRK;