summaryrefslogtreecommitdiff
path: root/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
commit4cd2370bed609c118b6edfde5d3f116e5c35b897 (patch)
treeec58f2c41f49754e41521d5ebc9dce4597ddd0a5 /app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
parentf443475c824b4b5c086e6d040961cb35ad81bc60 (diff)
gentoo resync : 03.12.2017
Diffstat (limited to 'app-accessibility/brltty/files/brltty-5.2-sysmacros.patch')
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-sysmacros.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch b/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
new file mode 100644
index 000000000000..d45d6104e4bb
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
@@ -0,0 +1,24 @@
+--- a/Programs/system_linux.c 2017-12-02 12:54:34.098643832 -0800
++++ b/Programs/system_linux.c 2017-12-02 12:59:00.683592161 -0800
+@@ -24,6 +24,9 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
++#ifdef HAVE_SYS_SYSMACROS_H
++#include <sys/sysmacros.h> /* major() w/newer glibc */
++#endif
+
+ #include "log.h"
+ #include "file.h"
+--- a/Programs/brlapi_client.c 2017-12-02 14:29:37.524205316 -0800
++++ b/Programs/brlapi_client.c 2017-12-02 14:32:45.679948051 -0800
+@@ -73,6 +73,9 @@
+ #include <linux/tty.h>
+ #include <linux/vt.h>
+ #define MAXIMUM_VIRTUAL_CONSOLE MAX_NR_CONSOLES
++#ifdef HAVE_SYS_SYSMACROS_H
++#include <sys/sysmacros.h> /* major() w/newer glibc */
++#endif
+ #endif /* linux */
+
+ #ifdef __OpenBSD__