mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +00:00
Ports: Update mandoc's patches to use git patches
This commit is contained in:
parent
490e97233d
commit
1f64b93b21
16 changed files with 274 additions and 95 deletions
|
@ -1,5 +1,18 @@
|
||||||
--- mandoc-1.14.5/compat_glob.c.orig Sat Jan 25 20:23:13 2020
|
From e922f5ca936776e9c4b7182c73008cf475f8a6ea Mon Sep 17 00:00:00 2001
|
||||||
+++ mandoc-1.14.5/compat_glob.c Sat Jan 25 20:22:56 2020
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 1/9] Add an implementation of globs
|
||||||
|
|
||||||
|
---
|
||||||
|
compat_glob.c | 1174 +++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
1 file changed, 1174 insertions(+)
|
||||||
|
create mode 100644 compat_glob.c
|
||||||
|
|
||||||
|
diff --git a/compat_glob.c b/compat_glob.c
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..d155c84
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/compat_glob.c
|
||||||
@@ -0,0 +1,1174 @@
|
@@ -0,0 +1,1174 @@
|
||||||
+/* $NetBSD: glob.c,v 1.39 2019/05/29 01:21:33 christos Exp $ */
|
+/* $NetBSD: glob.c,v 1.39 2019/05/29 01:21:33 christos Exp $ */
|
||||||
+
|
+
|
||||||
|
@ -1175,3 +1188,6 @@
|
||||||
+ (void)printf("\n");
|
+ (void)printf("\n");
|
||||||
+}
|
+}
|
||||||
+#endif
|
+#endif
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
|
@ -1,5 +1,18 @@
|
||||||
--- mandoc-1.14.5/glob.h.orig Sat Jan 25 20:20:24 2020
|
From 05cf3e8e7e355ec1ae1890cff0ed3a86d7bd5d57 Mon Sep 17 00:00:00 2001
|
||||||
+++ mandoc-1.14.5/glob.h Sat Jan 25 20:20:44 2020
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 2/9] Add a header describing the glob implementation
|
||||||
|
|
||||||
|
---
|
||||||
|
glob.h | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
1 file changed, 115 insertions(+)
|
||||||
|
create mode 100644 glob.h
|
||||||
|
|
||||||
|
diff --git a/glob.h b/glob.h
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..c304b69
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/glob.h
|
||||||
@@ -0,0 +1,115 @@
|
@@ -0,0 +1,115 @@
|
||||||
+/* $NetBSD: glob.h,v 1.27 2019/05/29 01:21:33 christos Exp $ */
|
+/* $NetBSD: glob.h,v 1.27 2019/05/29 01:21:33 christos Exp $ */
|
||||||
+
|
+
|
||||||
|
@ -116,3 +129,6 @@
|
||||||
+__END_DECLS
|
+__END_DECLS
|
||||||
+
|
+
|
||||||
+#endif /* !_GLOB_H_ */
|
+#endif /* !_GLOB_H_ */
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
|
@ -1,6 +1,17 @@
|
||||||
--- mandoc-1.14.5/configure.orig Sat Jan 25 20:56:19 2020
|
From 75619e06ffe6d4e392bf61ea3cee05706fa6df9a Mon Sep 17 00:00:00 2001
|
||||||
+++ mandoc-1.14.5/configure Sat Jan 25 20:56:55 2020
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
@@ -35,14 +35,13 @@
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 3/9] Make configure build for serenity
|
||||||
|
|
||||||
|
---
|
||||||
|
configure | 39 ++++++++++++---------------------------
|
||||||
|
1 file changed, 12 insertions(+), 27 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure b/configure
|
||||||
|
index 5507de7..16a074b 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -35,14 +35,13 @@ echo "file config.log: writing..."
|
||||||
|
|
||||||
SOURCEDIR=`dirname "$0"`
|
SOURCEDIR=`dirname "$0"`
|
||||||
|
|
||||||
|
@ -20,7 +31,7 @@
|
||||||
LDADD=
|
LDADD=
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
LD_NANOSLEEP=
|
LD_NANOSLEEP=
|
||||||
@@ -62,17 +61,17 @@
|
@@ -62,17 +61,17 @@ HAVE_ENDIAN=
|
||||||
HAVE_ERR=
|
HAVE_ERR=
|
||||||
HAVE_FTS=
|
HAVE_FTS=
|
||||||
HAVE_FTS_COMPARE_CONST=
|
HAVE_FTS_COMPARE_CONST=
|
||||||
|
@ -42,7 +53,7 @@
|
||||||
HAVE_PROGNAME=
|
HAVE_PROGNAME=
|
||||||
HAVE_REALLOCARRAY=
|
HAVE_REALLOCARRAY=
|
||||||
HAVE_RECALLOCARRAY=
|
HAVE_RECALLOCARRAY=
|
||||||
@@ -84,7 +83,7 @@
|
@@ -84,7 +83,7 @@ HAVE_STRCASESTR=
|
||||||
HAVE_STRINGLIST=
|
HAVE_STRINGLIST=
|
||||||
HAVE_STRLCAT=
|
HAVE_STRLCAT=
|
||||||
HAVE_STRLCPY=
|
HAVE_STRLCPY=
|
||||||
|
@ -51,7 +62,7 @@
|
||||||
HAVE_STRPTIME=
|
HAVE_STRPTIME=
|
||||||
HAVE_STRSEP=
|
HAVE_STRSEP=
|
||||||
HAVE_STRTONUM=
|
HAVE_STRTONUM=
|
||||||
@@ -361,20 +360,6 @@
|
@@ -361,20 +360,6 @@ else
|
||||||
echo 1>&3
|
echo 1>&3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -72,7 +83,7 @@
|
||||||
if [ ${BUILD_CATMAN} -gt 0 ]; then
|
if [ ${BUILD_CATMAN} -gt 0 ]; then
|
||||||
# --- recvmsg ---
|
# --- recvmsg ---
|
||||||
if [ -n "${LD_RECVMSG}" ]; then
|
if [ -n "${LD_RECVMSG}" ]; then
|
||||||
@@ -420,7 +405,7 @@
|
@@ -420,7 +405,7 @@ if [ "${HAVE_OHASH}" -eq 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# --- LDADD ---
|
# --- LDADD ---
|
||||||
|
@ -81,7 +92,7 @@
|
||||||
echo "selected LDADD=\"${LDADD}\"" 1>&2
|
echo "selected LDADD=\"${LDADD}\"" 1>&2
|
||||||
echo "selected LDADD=\"${LDADD}\"" 1>&3
|
echo "selected LDADD=\"${LDADD}\"" 1>&3
|
||||||
echo 1>&3
|
echo 1>&3
|
||||||
@@ -572,7 +557,7 @@
|
@@ -572,7 +557,7 @@ exec > Makefile.local
|
||||||
[ -z "${BIN_FROM_SBIN}" ] && BIN_FROM_SBIN="../bin"
|
[ -z "${BIN_FROM_SBIN}" ] && BIN_FROM_SBIN="../bin"
|
||||||
[ -z "${INCLUDEDIR}" ] && INCLUDEDIR="${PREFIX}/include/mandoc"
|
[ -z "${INCLUDEDIR}" ] && INCLUDEDIR="${PREFIX}/include/mandoc"
|
||||||
[ -z "${LIBDIR}" ] && LIBDIR="${PREFIX}/lib/mandoc"
|
[ -z "${LIBDIR}" ] && LIBDIR="${PREFIX}/lib/mandoc"
|
||||||
|
@ -90,3 +101,6 @@
|
||||||
|
|
||||||
[ -z "${HTDOCDIR}" ] && HTDOCDIR="${WWWPREFIX}/htdocs"
|
[ -z "${HTDOCDIR}" ] && HTDOCDIR="${WWWPREFIX}/htdocs"
|
||||||
[ -z "${CGIBINDIR}" ] && CGIBINDIR="${WWWPREFIX}/cgi-bin"
|
[ -z "${CGIBINDIR}" ] && CGIBINDIR="${WWWPREFIX}/cgi-bin"
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
25
Ports/mandoc/patches/0004-Use-pcre2-for-regex.patch
Normal file
25
Ports/mandoc/patches/0004-Use-pcre2-for-regex.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From 173fe2329bb943dba5e0c85c16403e0a4ee61b2f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 4/9] Use pcre2 for regex
|
||||||
|
|
||||||
|
---
|
||||||
|
dba_read.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/dba_read.c b/dba_read.c
|
||||||
|
index e976057..6183dcb 100644
|
||||||
|
--- a/dba_read.c
|
||||||
|
+++ b/dba_read.c
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
* The interface is defined in "dba.h".
|
||||||
|
* This file is seperate from dba.c because this also uses "dbm.h".
|
||||||
|
*/
|
||||||
|
-#include <regex.h>
|
||||||
|
+#include <pcre2posix.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
25
Ports/mandoc/patches/0005-Use-pcre2-for-regex.patch
Normal file
25
Ports/mandoc/patches/0005-Use-pcre2-for-regex.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From 7c8e432900e1aafc14d7012cb1456b55c5db860a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 5/9] Use pcre2 for regex
|
||||||
|
|
||||||
|
---
|
||||||
|
dbm_map.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/dbm_map.c b/dbm_map.c
|
||||||
|
index 87c085d..d5c620e 100644
|
||||||
|
--- a/dbm_map.c
|
||||||
|
+++ b/dbm_map.c
|
||||||
|
@@ -36,7 +36,7 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
-#include <regex.h>
|
||||||
|
+#include <pcre2posix.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
25
Ports/mandoc/patches/0006-Use-pcre2-for-regex.patch
Normal file
25
Ports/mandoc/patches/0006-Use-pcre2-for-regex.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From e4b3fb04945980f8546c7437cb345fc0cb67f58d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 6/9] Use pcre2 for regex
|
||||||
|
|
||||||
|
---
|
||||||
|
dbm.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/dbm.c b/dbm.c
|
||||||
|
index f6b1259..3dc034a 100644
|
||||||
|
--- a/dbm.c
|
||||||
|
+++ b/dbm.c
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
#include <err.h>
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
-#include <regex.h>
|
||||||
|
+#include <pcre2posix.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
From e100280860217da8822cb5568db71a8cb1456121 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Thu, 23 Dec 2021 11:13:14 +0100
|
||||||
|
Subject: [PATCH 7/9] Use the patched-in version of glob.h
|
||||||
|
|
||||||
|
Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
|
||||||
|
---
|
||||||
|
main.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/main.c b/main.c
|
||||||
|
index b91c158..cb785cd 100644
|
||||||
|
--- a/main.c
|
||||||
|
+++ b/main.c
|
||||||
|
@@ -30,7 +30,6 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
-#include <glob.h>
|
||||||
|
#if HAVE_SANDBOX_INIT
|
||||||
|
#include <sandbox.h>
|
||||||
|
#endif
|
||||||
|
@@ -54,6 +53,7 @@
|
||||||
|
#include "main.h"
|
||||||
|
#include "manconf.h"
|
||||||
|
#include "mansearch.h"
|
||||||
|
+#include "glob.h"
|
||||||
|
|
||||||
|
enum outmode {
|
||||||
|
OUTMODE_DEF = 0,
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
From 517695e5b4412d2e1b1f95c0f3cd7c5202968efd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 8/9] Build the patched-in glob implementation
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index f4e2954..51a9816 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -63,6 +63,7 @@ SRCS = arch.c \
|
||||||
|
compat_fts.c \
|
||||||
|
compat_getline.c \
|
||||||
|
compat_getsubopt.c \
|
||||||
|
+ compat_glob.c \
|
||||||
|
compat_isblank.c \
|
||||||
|
compat_mkdtemp.c \
|
||||||
|
compat_ohash.c \
|
||||||
|
@@ -251,6 +252,7 @@ COMPAT_OBJS = compat_err.o \
|
||||||
|
compat_fts.o \
|
||||||
|
compat_getline.o \
|
||||||
|
compat_getsubopt.o \
|
||||||
|
+ compat_glob.o \
|
||||||
|
compat_isblank.o \
|
||||||
|
compat_mkdtemp.o \
|
||||||
|
compat_ohash.o \
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
28
Ports/mandoc/patches/0009-Fix-mansearch.c.patch
Normal file
28
Ports/mandoc/patches/0009-Fix-mansearch.c.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
From f71b62d6e3cc1d31ee46721dd7709f68aaa9b44a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Callahan <bcallah@openbsd.org>
|
||||||
|
Date: Sat, 25 Jan 2020 21:20:39 -0500
|
||||||
|
Subject: [PATCH 9/9] Fix mansearch.c
|
||||||
|
|
||||||
|
---
|
||||||
|
mansearch.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/mansearch.c b/mansearch.c
|
||||||
|
index 0c457f9..b036f39 100644
|
||||||
|
--- a/mansearch.c
|
||||||
|
+++ b/mansearch.c
|
||||||
|
@@ -26,9 +26,9 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
-#include <glob.h>
|
||||||
|
+#include "glob.h"
|
||||||
|
#include <limits.h>
|
||||||
|
-#include <regex.h>
|
||||||
|
+#include <pcre2posix.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
48
Ports/mandoc/patches/ReadMe.md
Normal file
48
Ports/mandoc/patches/ReadMe.md
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Patches for mandoc on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Add-an-implementation-of-globs.patch`
|
||||||
|
|
||||||
|
Add an implementation of globs
|
||||||
|
|
||||||
|
|
||||||
|
## `0002-Add-a-header-describing-the-glob-implementation.patch`
|
||||||
|
|
||||||
|
Add a header describing the glob implementation
|
||||||
|
|
||||||
|
|
||||||
|
## `0003-Make-configure-build-for-serenity.patch`
|
||||||
|
|
||||||
|
Make configure build for serenity
|
||||||
|
|
||||||
|
|
||||||
|
## `0004-Use-pcre2-for-regex.patch`
|
||||||
|
|
||||||
|
Use pcre2 for regex
|
||||||
|
|
||||||
|
|
||||||
|
## `0005-Use-pcre2-for-regex.patch`
|
||||||
|
|
||||||
|
Use pcre2 for regex
|
||||||
|
|
||||||
|
|
||||||
|
## `0006-Use-pcre2-for-regex.patch`
|
||||||
|
|
||||||
|
Use pcre2 for regex
|
||||||
|
|
||||||
|
|
||||||
|
## `0007-Use-the-patched-in-version-of-glob.h.patch`
|
||||||
|
|
||||||
|
Use the patched-in version of glob.h
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## `0008-Build-the-patched-in-glob-implementation.patch`
|
||||||
|
|
||||||
|
Build the patched-in glob implementation
|
||||||
|
|
||||||
|
|
||||||
|
## `0009-Fix-mansearch.c.patch`
|
||||||
|
|
||||||
|
Fix mansearch.c
|
||||||
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- mandoc-1.14.5/Makefile.orig Sat Jan 25 20:14:41 2020
|
|
||||||
+++ mandoc-1.14.5/Makefile Sat Jan 25 20:15:10 2020
|
|
||||||
@@ -63,6 +63,7 @@
|
|
||||||
compat_fts.c \
|
|
||||||
compat_getline.c \
|
|
||||||
compat_getsubopt.c \
|
|
||||||
+ compat_glob.c \
|
|
||||||
compat_isblank.c \
|
|
||||||
compat_mkdtemp.c \
|
|
||||||
compat_ohash.c \
|
|
||||||
@@ -251,6 +252,7 @@
|
|
||||||
compat_fts.o \
|
|
||||||
compat_getline.o \
|
|
||||||
compat_getsubopt.o \
|
|
||||||
+ compat_glob.o \
|
|
||||||
compat_isblank.o \
|
|
||||||
compat_mkdtemp.o \
|
|
||||||
compat_ohash.o \
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- mandoc-1.14.5/dba_read.c.orig Sat Jan 25 20:11:14 2020
|
|
||||||
+++ mandoc-1.14.5/dba_read.c Sat Jan 25 20:11:22 2020
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
* The interface is defined in "dba.h".
|
|
||||||
* This file is seperate from dba.c because this also uses "dbm.h".
|
|
||||||
*/
|
|
||||||
-#include <regex.h>
|
|
||||||
+#include <pcre2posix.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- mandoc-1.14.5/dbm_map.c.orig Sat Jan 25 20:09:42 2020
|
|
||||||
+++ mandoc-1.14.5/dbm_map.c Sat Jan 25 20:09:49 2020
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
#endif
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
-#include <regex.h>
|
|
||||||
+#include <pcre2posix.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- mandoc-1.14.5/dbm.c.orig Sat Jan 25 20:09:04 2020
|
|
||||||
+++ mandoc-1.14.5/dbm.c Sat Jan 25 20:09:16 2020
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include <err.h>
|
|
||||||
#endif
|
|
||||||
#include <errno.h>
|
|
||||||
-#include <regex.h>
|
|
||||||
+#include <pcre2posix.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- mandoc-1.14.5/main.c.orig Sat Jan 25 20:29:18 2020
|
|
||||||
+++ mandoc-1.14.5/main.c Sat Jan 25 20:30:06 2020
|
|
||||||
@@ -30,7 +30,6 @@
|
|
||||||
#endif
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
-#include <glob.h>
|
|
||||||
#if HAVE_SANDBOX_INIT
|
|
||||||
#include <sandbox.h>
|
|
||||||
#endif
|
|
||||||
@@ -54,6 +54,7 @@
|
|
||||||
#include "main.h"
|
|
||||||
#include "manconf.h"
|
|
||||||
#include "mansearch.h"
|
|
||||||
+#include "glob.h"
|
|
||||||
|
|
||||||
enum outmode {
|
|
||||||
OUTMODE_DEF = 0,
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- mandoc-1.14.5/mansearch.c.orig Sat Jan 25 20:17:03 2020
|
|
||||||
+++ mandoc-1.14.5/mansearch.c Sat Jan 25 20:17:11 2020
|
|
||||||
@@ -26,9 +26,9 @@
|
|
||||||
#endif
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
-#include <glob.h>
|
|
||||||
+#include "glob.h"
|
|
||||||
#include <limits.h>
|
|
||||||
-#include <regex.h>
|
|
||||||
+#include <pcre2posix.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stddef.h>
|
|
Loading…
Add table
Add a link
Reference in a new issue