From fd89fb2bb4ed5ed44ef1408d998348f7216b5688 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 4 Dec 2017 20:35:48 +0100 Subject: app-accessibility/brltty: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/6438 --- .../brltty/files/brltty-5.2-major.patch | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 app-accessibility/brltty/files/brltty-5.2-major.patch (limited to 'app-accessibility') diff --git a/app-accessibility/brltty/files/brltty-5.2-major.patch b/app-accessibility/brltty/files/brltty-5.2-major.patch deleted file mode 100644 index 7c591b1cc0e9..000000000000 --- a/app-accessibility/brltty/files/brltty-5.2-major.patch +++ /dev/null @@ -1,59 +0,0 @@ -Bug: https://bugs.gentoo.org/581130 -diff --git a/Programs/system_linux.c b/Programs/system_linux.c -index c73bd39..ef7d807 100644 ---- a/Programs/system_linux.c -+++ b/Programs/system_linux.c -@@ -25,6 +25,12 @@ - #include - #include - -+#ifdef MAJOR_IN_MKDEV -+#include -+#elif defined MAJOR_IN_SYSMACROS -+#include -+#endif -+ - #include "log.h" - #include "file.h" - #include "device.h" -diff --git a/configure.ac b/configure.ac -index 96305f7..dcae1e1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -555,6 +555,8 @@ BRLTTY_ARG_DISABLE( - ]) - AC_SUBST([install_messages]) - -+AC_HEADER_MAJOR -+ - AC_CHECK_FUNC([wcslen], [AC_CHECK_HEADERS([wchar.h], [dnl - AC_CHECK_FUNCS([wcwidth]) - ])]) -diff --git a/config.h.in b/config.h.in -index 71341c6..ff201c2 100644 ---- a/config.h.in -+++ b/config.h.in -@@ -457,2 +457,10 @@ extern "C" { - -+/* Define to 1 if `major', `minor', and `makedev' are declared in . -+ */ -+#undef MAJOR_IN_MKDEV -+ -+/* Define to 1 if `major', `minor', and `makedev' are declared in -+ . */ -+#undef MAJOR_IN_SYSMACROS -+ - /* Define this to be a string containing the path to the root of the Mikropuhe package. */ -diff --git a/Programs/brlapi_client.c b/Programs/brlapi_client.c -index bd6497b..df63b30 100644 ---- a/Programs/brlapi_client.c -+++ b/Programs/brlapi_client.c -@@ -32,2 +32,8 @@ - -+#ifdef MAJOR_IN_MKDEV -+#include -+#elif defined MAJOR_IN_SYSMACROS -+#include -+#endif -+ - #ifndef __MINGW32__ -- cgit v1.2.3-65-gdbad