[arch-commits] Commit in mandoc/trunk (4 files)
Eli Schwartz
eschwartz at archlinux.org
Thu Nov 26 00:24:23 UTC 2020
Date: Thursday, November 26, 2020 @ 00:24:23
Author: eschwartz
Revision: 761321
mandoc: add local sources too...
Added:
mandoc/trunk/configure.local
mandoc/trunk/fix-tbl-segfault.patch
mandoc/trunk/mandoc.service
mandoc/trunk/mandoc.timer
------------------------+
configure.local | 18 ++++++++++++++++++
fix-tbl-segfault.patch | 20 ++++++++++++++++++++
mandoc.service | 11 +++++++++++
mandoc.timer | 7 +++++++
4 files changed, 56 insertions(+)
Added: configure.local
===================================================================
--- configure.local (rev 0)
+++ configure.local 2020-11-26 00:24:23 UTC (rev 761321)
@@ -0,0 +1,18 @@
+# Arch $MANPATH.
+MANPATH_DEFAULT=/usr/local/share/man:/usr/share/man
+
+# Arch paths.
+PREFIX=/usr
+SBINDIR=$PREFIX/bin
+MANDIR=$PREFIX/share/man
+
+# These conflict with man(7) and mdoc(7) from man-pages.
+MANM_MAN=mandoc_man
+MANM_MDOC=mandoc_mdoc
+
+# These conflict with binaries and manpages from groff.
+BINM_SOELIM=msoelim
+MANM_ROFF=mandoc_roff
+
+# catman(8) is disabled by default.
+BUILD_CATMAN=1
Added: fix-tbl-segfault.patch
===================================================================
--- fix-tbl-segfault.patch (rev 0)
+++ fix-tbl-segfault.patch 2020-11-26 00:24:23 UTC (rev 761321)
@@ -0,0 +1,20 @@
+--- tbl_term.c 2020-08-18 12:35:27.290953791 +0200
++++ tbl_term.c 2020-08-18 12:35:23.450952148 +0200
+@@ -626,7 +626,7 @@
+
+ lw = cpp == NULL || cpn == NULL ||
+ (cpn->pos != TBL_CELL_DOWN &&
+- (dpn == NULL || strcmp(dpn->string, "\\^") != 0))
++ (dpn == NULL || dpn->pos == TBL_DATA_NONE || strcmp(dpn->string, "\\^") != 0))
+ ? hw : 0;
+ tbl_direct_border(tp, BHORIZ * lw,
+ col->width + col->spacing / 2);
+@@ -670,7 +670,7 @@
+
+ rw = cpp == NULL || cpn == NULL ||
+ (cpn->pos != TBL_CELL_DOWN &&
+- (dpn == NULL || strcmp(dpn->string, "\\^") != 0))
++ (dpn == NULL || dpn->pos == TBL_DATA_NONE || strcmp(dpn->string, "\\^") != 0))
+ ? hw : 0;
+
+ /* The line crossing at the end of this column. */
Added: mandoc.service
===================================================================
--- mandoc.service (rev 0)
+++ mandoc.service 2020-11-26 00:24:23 UTC (rev 761321)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update manpage database
+RequiresMountsFor=/usr/share/man
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/makewhatis
+CPUSchedulingPolicy=batch
+Nice=19
+IOSchedulingClass=idle
+IOSchedulingPriority=7
Added: mandoc.timer
===================================================================
--- mandoc.timer (rev 0)
+++ mandoc.timer 2020-11-26 00:24:23 UTC (rev 761321)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daily manpage database update
+
+[Timer]
+OnCalendar=daily
+AccuracySec=12h
+Persistent=true
More information about the arch-commits
mailing list