[packages/brltty] - rediff patches

baggins baggins at pld-linux.org
Tue Mar 2 22:37:07 CET 2021


commit 03476ceb157e578d55541a6df954cbb8dfb72a97
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 2 22:36:53 2021 +0100

    - 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 <errno.h>
  #include <fcntl.h>
  #include <sys/stat.h>
 +#include <sys/sysmacros.h>
  #include <locale.h>
- 
- #ifndef __MINGW32__
+ #include <assert.h>
+ #include <limits.h>
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 = <unsigned char *>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 <libspeechd.h>
@@ -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])
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/brltty.git/commitdiff/03476ceb157e578d55541a6df954cbb8dfb72a97



More information about the pld-cvs-commit mailing list