summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/mdocml/.gitignore2
-rw-r--r--pkg/mdocml/config.h12
-rw-r--r--pkg/mdocml/gen.rc23
-rw-r--r--pkg/mdocml/rev2
-rw-r--r--pkg/mdocml/sha2562
-rw-r--r--pkg/mdocml/url2
-rw-r--r--pkg/openbsd/include/string.h1
7 files changed, 31 insertions, 13 deletions
diff --git a/pkg/mdocml/.gitignore b/pkg/mdocml/.gitignore
index 0da61be7..edcddeed 100644
--- a/pkg/mdocml/.gitignore
+++ b/pkg/mdocml/.gitignore
@@ -1,2 +1,2 @@
-/mdocml-1.13.4.tar.gz
+/mdocml-1.14.1.tar.gz
/src
diff --git a/pkg/mdocml/config.h b/pkg/mdocml/config.h
index 86d08114..ccce277b 100644
--- a/pkg/mdocml/config.h
+++ b/pkg/mdocml/config.h
@@ -1,8 +1,13 @@
#include <config-posix.h>
+#define UTF8_LOCALE "C.UTF-8"
+#define EFTYPE EINVAL
+#define HAVE_CMSG_XPG42 0
#define HAVE_DIRENT_NAMLEN 0
+#define HAVE_ENDIAN 1
#define HAVE_ERR 1
-#define HAVE_FTS 1
+#define HAVE_FTS 0
+#define HAVE_FTS_COMPARE_CONST 0
#define HAVE_PLEDGE 0
#define HAVE_PROGNAME 1
#define HAVE_REALLOCARRAY 1
@@ -15,15 +20,14 @@
#define HAVE_STRLCPY 1
#define HAVE_STRSEP 1
#define HAVE_STRTONUM 1
+#define HAVE_SYS_ENDIAN 0
#define HAVE_VASPRINTF 1
#define HAVE_WCHAR 1
-#define HAVE_SQLITE3 0
-#define HAVE_SQLITE3_ERRSTR 0
#define HAVE_OHASH 0
-#define HAVE_MANPATH 0
/* binary names */
#define BINM_APROPOS "apropos"
+#define BINM_CATMAN "catman"
#define BINM_MAKEWHATIS "makewhatis"
#define BINM_MAN "man"
#define BINM_SOELIM "soelim"
diff --git a/pkg/mdocml/gen.rc b/pkg/mdocml/gen.rc
index e71d3784..b7c8423e 100644
--- a/pkg/mdocml/gen.rc
+++ b/pkg/mdocml/gen.rc
@@ -35,6 +35,7 @@ lib libmandoc.a -d pkg/zlib/headers\
preconv.c\
read.c\
\
+ compat_fts.c\
compat_ohash.c
exe mandoc\
@@ -59,16 +60,28 @@ exe mandoc\
term_ascii.c\
term_ps.c\
tbl_term.c\
+ \
+ dbm.c\
+ dbm_map.c\
+ mansearch.c\
+ \
+ dba.c\
+ dba_array.c\
+ dba_read.c\
+ dba_write.c\
+ mandocdb.c\
+ \
libmandoc.a\
'$builddir'/pkg/^(openbsd/libbsd.a zlib/libz.a)
exe demandoc demandoc.c libmandoc.a '$builddir'/pkg/^(openbsd/libbsd.a zlib/libz.a)
for(exe in mandoc demandoc) file bin/$exe '$outdir'/$exe 755
-sym bin/man mandoc
+for(sym in apropos man whatis makewhatis) sym bin/$sym mandoc
man\
- 1 mandoc.1 demandoc.1 man.1\
- 3 mandoc.3\
- 5 man.conf.5\
- 7 man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7
+ 1 mandoc.1 demandoc.1 man.1 apropos.1\
+ 5 man.conf.5 mandoc.db.5\
+ 7 man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7\
+ 8 makewhatis.8
+sym share/man/man1/whatis.1.gz apropos.1.gz
fetch curl
diff --git a/pkg/mdocml/rev b/pkg/mdocml/rev
index 0cfbf088..00750edc 100644
--- a/pkg/mdocml/rev
+++ b/pkg/mdocml/rev
@@ -1 +1 @@
-2
+3
diff --git a/pkg/mdocml/sha256 b/pkg/mdocml/sha256
index 13446bd9..85f5314c 100644
--- a/pkg/mdocml/sha256
+++ b/pkg/mdocml/sha256
@@ -1 +1 @@
-0a55c1addb188071d6f784599303656b8465e98ec6b2f4f264e12fb96d79e0ef mdocml-1.13.4.tar.gz
+356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b mdocml-1.14.1.tar.gz
diff --git a/pkg/mdocml/url b/pkg/mdocml/url
index 46ea2f7b..ebe311b6 100644
--- a/pkg/mdocml/url
+++ b/pkg/mdocml/url
@@ -1 +1 @@
-url = "http://mdocml.bsd.lv/snapshots/mdocml-1.13.4.tar.gz"
+url = "http://mdocml.bsd.lv/snapshots/mdocml-1.14.1.tar.gz"
diff --git a/pkg/openbsd/include/string.h b/pkg/openbsd/include/string.h
index 17c8ad81..19298a67 100644
--- a/pkg/openbsd/include/string.h
+++ b/pkg/openbsd/include/string.h
@@ -1,4 +1,5 @@
#include_next <string.h>
void explicit_bzero(void *, size_t);
+char *strcasestr(const char *, const char *);
void strmode(int, char *);
int timingsafe_memcmp(const void *, const void *, size_t);