765e304c4b
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
16 lines
621 B
Diff
16 lines
621 B
Diff
===================================================================
|
|
RCS file: /vhosts/mdocml.bsd.lv/cvs/mdocml/out.c,v
|
|
retrieving revision 1.77
|
|
retrieving revision 1.78
|
|
diff -u -p -r1.77 -r1.78
|
|
--- a/out.c 2018/12/13 11:55:47 1.77
|
|
+++ b/out.c 2019/03/29 21:27:06 1.78
|
|
@@ -149,7 +149,7 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
|
|
gp = &first_group;
|
|
for (dp = sp->first; dp != NULL; dp = dp->next) {
|
|
icol = dp->layout->col;
|
|
- while (icol > maxcol)
|
|
+ while (maxcol < icol + dp->hspans)
|
|
tbl->cols[++maxcol].spacing = SIZE_MAX;
|
|
col = tbl->cols + icol;
|
|
col->flags |= dp->layout->flags;
|