From 03476ceb157e578d55541a6df954cbb8dfb72a97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 2 Mar 2021 22:36:53 +0100 Subject: [PATCH] - rediff patches --- brltty-glibc25.patch | 9 +++++---- brltty-python.patch | 9 +++++---- brltty-speech-dispatcher.patch | 32 ++++++++++++++++---------------- 3 files changed, 26 insertions(+), 24 deletions(-) diff --git a/brltty-glibc25.patch b/brltty-glibc25.patch index c8ffbf2..7a68e73 100644 --- a/brltty-glibc25.patch +++ b/brltty-glibc25.patch @@ -1,10 +1,11 @@ ---- brltty-5.5/Programs/brlapi_client.c~ 2017-04-19 00:35:13.000000000 +0200 -+++ brltty-5.5/Programs/brlapi_client.c 2019-04-15 13:46:45.074072750 +0200 +diff -urNp -x '*.orig' brltty-6.1.org/Programs/brlapi_client.c brltty-6.1/Programs/brlapi_client.c +--- brltty-6.1.org/Programs/brlapi_client.c 2020-04-05 12:35:34.000000000 +0200 ++++ brltty-6.1/Programs/brlapi_client.c 2021-03-02 22:36:23.483472412 +0100 @@ -28,6 +28,7 @@ #include #include #include +#include #include - - #ifndef __MINGW32__ + #include + #include diff --git a/brltty-python.patch b/brltty-python.patch index b40b5d5..b21ff7b 100644 --- a/brltty-python.patch +++ b/brltty-python.patch @@ -1,6 +1,7 @@ ---- brltty-4.5/Bindings/Python/brlapi.pyx 2013-06-20 07:32:09.000000000 +0000 -+++ brltty-4.5/Bindings/Python/brlapi.pyx 2013-06-20 07:32:52.064634045 +0000 -@@ -497,7 +497,7 @@ +diff -urNp -x '*.orig' brltty-6.1.org/Bindings/Python/brlapi.pyx brltty-6.1/Bindings/Python/brlapi.pyx +--- brltty-6.1.org/Bindings/Python/brlapi.pyx 2020-04-05 12:35:34.000000000 +0200 ++++ brltty-6.1/Bindings/Python/brlapi.pyx 2021-03-02 22:36:22.870140488 +0100 +@@ -652,7 +652,7 @@ cdef class Connection: if (type(dots) == unicode): dots = dots.encode('latin1') if (len(dots) < dispSize): @@ -8,4 +9,4 @@ + dots = dots + "".center(dispSize - len(dots), '\0') c_dots = dots c_udots = c_dots - c_brlapi.Py_BEGIN_ALLOW_THREADS + with nogil: diff --git a/brltty-speech-dispatcher.patch b/brltty-speech-dispatcher.patch index 054efa7..b27e261 100644 --- a/brltty-speech-dispatcher.patch +++ b/brltty-speech-dispatcher.patch @@ -1,20 +1,8 @@ ---- brltty-4.5/configure.ac.orig 2013-03-27 23:54:58.000000000 +0100 -+++ brltty-4.5/configure.ac 2013-04-07 19:04:31.636980920 +0200 -@@ -1516,7 +1516,7 @@ - ]) - ]) - -- BRLTTY_IF_PACKAGE([speech-dispatcher], [speechd], [include/libspeechd.h], [dnl -+ BRLTTY_IF_PACKAGE([speech-dispatcher], [speechd], [include/speech-dispatcher/libspeechd.h], [dnl - BRLTTY_SPEECH_DRIVER([sd], [SpeechDispatcher]) - ], [include], [lib], [speechd]) +diff -urNp -x '*.orig' brltty-6.1.org/Drivers/Speech/SpeechDispatcher/speech.c brltty-6.1/Drivers/Speech/SpeechDispatcher/speech.c +--- brltty-6.1.org/Drivers/Speech/SpeechDispatcher/speech.c 2020-04-05 12:35:34.000000000 +0200 ++++ brltty-6.1/Drivers/Speech/SpeechDispatcher/speech.c 2021-03-02 22:36:22.260141892 +0100 +@@ -34,7 +34,7 @@ typedef enum { - BRLTTY_IF_PACKAGE([Swift], [swift], [include/swift.h], [dnl - BRLTTY_SPEECH_DRIVER([sw], [Swift], [-L$(SWIFT_ROOT)/lib -lswift -lm]) ---- brltty-4.5/Drivers/Speech/SpeechDispatcher/speech.c.orig 2013-03-27 23:51:36.000000000 +0100 -+++ brltty-4.5/Drivers/Speech/SpeechDispatcher/speech.c 2013-04-07 19:56:47.340248894 +0200 -@@ -38,7 +38,7 @@ - #define SPK_HAVE_PUNCTUATION #include "spk_driver.h" -#include @@ -22,3 +10,15 @@ static SPDConnection *connectionHandle = NULL; static const char *moduleName; +diff -urNp -x '*.orig' brltty-6.1.org/configure.ac brltty-6.1/configure.ac +--- brltty-6.1.org/configure.ac 2020-04-06 10:12:58.000000000 +0200 ++++ brltty-6.1/configure.ac 2021-03-02 22:36:22.260141892 +0100 +@@ -1847,7 +1847,7 @@ BRLTTY_ARG_DISABLE( + ]) + ]) + +- BRLTTY_IF_PACKAGE([speech-dispatcher], [speechd], [include/libspeechd.h], [dnl ++ BRLTTY_IF_PACKAGE([speech-dispatcher], [speechd], [include/speech-dispatcher/libspeechd.h], [dnl + BRLTTY_SPEECH_DRIVER([sd], [SpeechDispatcher]) + ], [include], [lib], [speechd]) + -- 2.44.0