diff options
author | Wolfgang Müller | 2021-03-25 14:11:31 +0100 |
---|---|---|
committer | Wolfgang Müller | 2021-03-25 14:11:31 +0100 |
commit | d6dd7354afeec70945bd0faf9194dde12b1e8a4a (patch) | |
tree | 6b4e4e1f9580b1991d40558a07f853d5df3bd616 /group-base/patches/app-text | |
parent | 4b75775490052a9a4681728f1639769bba9de68c (diff) | |
download | portage-roles-d6dd7354afeec70945bd0faf9194dde12b1e8a4a.tar.gz |
group-base: Fix category for mandoc patch
mandoc's category changed when we migrated to the version of mandoc
present in Gentoo's main portage tree. This meant that the patch would
no longer apply.
Diffstat (limited to 'group-base/patches/app-text')
-rw-r--r-- | group-base/patches/app-text/mandoc-1.14.5/fix-empty-tbl-nullptr.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/group-base/patches/app-text/mandoc-1.14.5/fix-empty-tbl-nullptr.patch b/group-base/patches/app-text/mandoc-1.14.5/fix-empty-tbl-nullptr.patch new file mode 100644 index 0000000..8e2d249 --- /dev/null +++ b/group-base/patches/app-text/mandoc-1.14.5/fix-empty-tbl-nullptr.patch @@ -0,0 +1,22 @@ +--- a/tbl_term.c 2019-11-08 16:58:41.628382060 +0100 ++++ b/tbl_term.c 2019-11-08 16:59:56.127323602 +0100 +@@ -626,7 +626,8 @@ + + lw = cpp == NULL || cpn == NULL || + (cpn->pos != TBL_CELL_DOWN && +- (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) ++ (dpn == NULL || dpn->string == NULL || ++ strcmp(dpn->string, "\\^") != 0)) + ? hw : 0; + tbl_direct_border(tp, BHORIZ * lw, + col->width + col->spacing / 2); +@@ -670,7 +671,8 @@ + + rw = cpp == NULL || cpn == NULL || + (cpn->pos != TBL_CELL_DOWN && +- (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) ++ (dpn == NULL || dpn->string == NULL || ++ strcmp(dpn->string, "\\^") != 0)) + ? hw : 0; + + /* The line crossing at the end of this column. */ |