diff --git a/Ports/mandoc/patches/add-charclass.patch b/Ports/mandoc/patches/add-charclass.patch deleted file mode 100644 index 9c71a534fe..0000000000 --- a/Ports/mandoc/patches/add-charclass.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- /dev/null Mon Jan 20 00:15:16 2020 -+++ mandoc-1.14.5/charclass.h Mon Jan 20 00:15:04 2020 -@@ -0,0 +1,29 @@ -+/* -+ * Public domain, 2008, Todd C. Miller -+ * -+ * $OpenBSD: charclass.h,v 1.2 2019/01/25 00:19:25 millert Exp $ -+ */ -+ -+/* -+ * POSIX character class support for fnmatch() and glob(). -+ */ -+static struct cclass { -+ const char *name; -+ int (*isctype)(int); -+} cclasses[] = { -+ { "alnum", isalnum }, -+ { "alpha", isalpha }, -+ { "blank", isblank }, -+ { "cntrl", iscntrl }, -+ { "digit", isdigit }, -+ { "graph", isgraph }, -+ { "lower", islower }, -+ { "print", isprint }, -+ { "punct", ispunct }, -+ { "space", isspace }, -+ { "upper", isupper }, -+ { "xdigit", isxdigit }, -+ { NULL, NULL } -+}; -+ -+#define NCCLASSES (sizeof(cclasses) / sizeof(cclasses[0]) - 1) diff --git a/Ports/mandoc/patches/fix-catman.patch b/Ports/mandoc/patches/fix-catman.patch deleted file mode 100644 index 607a92ca97..0000000000 --- a/Ports/mandoc/patches/fix-catman.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mandoc-1.14.5/catman.c.orig Sun Jan 19 23:55:20 2020 -+++ mandoc-1.14.5/catman.c Sun Jan 19 23:55:30 2020 -@@ -113,7 +113,7 @@ - if ((sz = sendmsg(fd, &msg, 0)) != -1 || - errno != EAGAIN) - break; -- nanosleep(&timeout, NULL); -+ sleep(1); - } - return sz; - } diff --git a/Ports/mandoc/patches/fix-demandoc.patch b/Ports/mandoc/patches/fix-demandoc.patch deleted file mode 100644 index 8dddf61ab2..0000000000 --- a/Ports/mandoc/patches/fix-demandoc.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- mandoc-1.14.5/demandoc.c.orig Mon Jan 20 00:18:29 2020 -+++ mandoc-1.14.5/demandoc.c Mon Jan 20 00:18:39 2020 -@@ -30,6 +30,7 @@ - #include "man.h" - #include "mdoc.h" - #include "mandoc_parse.h" -+#include "getopt.h" - - static void pline(int, int *, int *, int); - static void pman(const struct roff_node *, int *, int *, int); diff --git a/Ports/mandoc/patches/fix-main.patch b/Ports/mandoc/patches/fix-main.patch index 1efadae9a9..2f1d11dfca 100644 --- a/Ports/mandoc/patches/fix-main.patch +++ b/Ports/mandoc/patches/fix-main.patch @@ -8,14 +8,6 @@ #if HAVE_SANDBOX_INIT #include #endif -@@ -42,6 +41,7 @@ - #include - #include - #include -+#include - - #include "mandoc_aux.h" - #include "mandoc.h" @@ -54,6 +54,7 @@ #include "main.h" #include "manconf.h" @@ -24,20 +16,3 @@ enum outmode { OUTMODE_DEF = 0, -@@ -660,6 +661,7 @@ - if (!WIFSTOPPED(status)) - break; - -+#define WSTOPSIG(x) 0 - signum = WSTOPSIG(status); - } - tag_unlink(); -@@ -1239,7 +1241,7 @@ - /* Do not start the pager before controlling the terminal. */ - - while (tcgetpgrp(STDOUT_FILENO) != getpid()) -- nanosleep(&timeout, NULL); -+ sleep(1); - - execvp(argv[0], argv); - err((int)MANDOCLEVEL_SYSERR, "exec %s", argv[0]); diff --git a/Ports/mandoc/patches/fix-mandocdb.patch b/Ports/mandoc/patches/fix-mandocdb.patch deleted file mode 100644 index 18a81e9f3a..0000000000 --- a/Ports/mandoc/patches/fix-mandocdb.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- mandoc-1.14.5/mandocdb.c.orig Sat Jan 25 20:18:09 2020 -+++ mandoc-1.14.5/mandocdb.c Sat Jan 25 20:18:22 2020 -@@ -45,6 +45,7 @@ - #include - #include - #include -+#include - - #include "mandoc_aux.h" - #include "mandoc_ohash.h" diff --git a/Ports/mandoc/patches/fix-soelim.patch b/Ports/mandoc/patches/fix-soelim.patch deleted file mode 100644 index b5a0127ddf..0000000000 --- a/Ports/mandoc/patches/fix-soelim.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- mandoc-1.14.5/soelim.c.orig Mon Jan 20 00:18:44 2020 -+++ mandoc-1.14.5/soelim.c Mon Jan 20 00:18:55 2020 -@@ -42,6 +42,7 @@ - #include "compat_stringlist.h" - #endif - #include -+#include "getopt.h" - - #define C_OPTION 0x1 -