From c70517f96131882d19f7ed7d1cc70c79c727934a Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 29 Feb 2020 17:17:39 +0100 Subject: [PATCH] sys-fs/snapraid: unused patch removal. Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/14808 Signed-off-by: Piotr Karbowski --- .../snapraid/files/snapraid-11.0-minor.patch | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 sys-fs/snapraid/files/snapraid-11.0-minor.patch diff --git a/sys-fs/snapraid/files/snapraid-11.0-minor.patch b/sys-fs/snapraid/files/snapraid-11.0-minor.patch deleted file mode 100644 index f212e9a0d575..000000000000 --- a/sys-fs/snapraid/files/snapraid-11.0-minor.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 04dfeea107f81afa50e4888dd7da2f4a9c82d6ee Mon Sep 17 00:00:00 2001 -From: Andrea Mazzoleni -Date: Wed, 4 Jan 2017 00:25:56 +0100 -Subject: [PATCH] Tentative fix for major/minor missing - ---- - cmdline/portable.h | 6 ++++++ - configure.ac | 1 + - 2 files changed, 7 insertions(+) - -diff --git a/cmdline/portable.h b/cmdline/portable.h -index 58826c6..059cd38 100644 ---- a/cmdline/portable.h -+++ b/cmdline/portable.h -@@ -198,6 +198,12 @@ - #include - #endif - -+#if MAJOR_IN_MKDEV -+#include -+#elif MAJOR_IN_SYSMACROS -+#include -+#endif -+ - #if HAVE_SYS_STAT_H - #include - #endif -diff --git a/configure.ac b/configure.ac -index 125dae9..8f34f43 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -31,6 +31,7 @@ AC_HEADER_ASSERT - AC_HEADER_DIRENT - AC_HEADER_TIME - AC_HEADER_SYS_WAIT -+AC_HEADER_MAJOR - AC_CHECK_HEADERS([fcntl.h stddef.h stdint.h stdlib.h string.h limits.h]) - AC_CHECK_HEADERS([unistd.h getopt.h fnmatch.h io.h inttypes.h byteswap.h]) - AC_CHECK_HEADERS([pthread.h math.h]) -- 2.26.2