[packages/brltty] - sys/sysmacros.h needs to be explicitely included

adamg adamg at pld-linux.org
Mon Apr 15 13:55:08 CEST 2019


commit 0285055ea6b2a88c71cabd8edab7a3f6998fe8fb
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Mon Apr 15 13:54:31 2019 +0200

    - sys/sysmacros.h needs to be explicitely included

 brltty-glibc25.patch | 10 ++++++++++
 brltty.spec          |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/brltty.spec b/brltty.spec
index 961f191..be6a462 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -35,6 +35,7 @@ Source0:	http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz
 Patch1:		%{name}-speech-dispatcher.patch
 Patch2:		%{name}-python.patch
 Patch3:		make.patch
+Patch4:		%{name}-glibc25.patch
 URL:		http://mielke.cc/brltty/
 BuildRequires:	alsa-lib-devel
 %{?with_at_spi:BuildRequires:	at-spi-devel}
@@ -255,6 +256,7 @@ Biblioteka BrlAPI dla Tcl.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__autoconf}
diff --git a/brltty-glibc25.patch b/brltty-glibc25.patch
new file mode 100644
index 0000000..c8ffbf2
--- /dev/null
+++ b/brltty-glibc25.patch
@@ -0,0 +1,10 @@
+--- 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
+@@ -28,6 +28,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <locale.h>
+ 
+ #ifndef __MINGW32__
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/brltty.git/commitdiff/19ea0ba6974b21a826d6e3e2c155ec77a6d5db9e



More information about the pld-cvs-commit mailing list