diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 00:59:56 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-22 00:59:56 +0000 |
commit | b116a08e20b134eea6fd90f7a47c9a239c6fc531 (patch) | |
tree | 23bdcc838caa5f4e8a8841dc663f5e2ab50393ff /system/gettext-tiny/line-length.patch | |
parent | 5b06cb003037fe9214cd1e76fbf09f1c7ea05312 (diff) | |
download | packages-b116a08e20b134eea6fd90f7a47c9a239c6fc531.tar.gz packages-b116a08e20b134eea6fd90f7a47c9a239c6fc531.tar.bz2 packages-b116a08e20b134eea6fd90f7a47c9a239c6fc531.tar.xz packages-b116a08e20b134eea6fd90f7a47c9a239c6fc531.zip |
system/gettext-tiny: Bump line length
Diffstat (limited to 'system/gettext-tiny/line-length.patch')
-rw-r--r-- | system/gettext-tiny/line-length.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/gettext-tiny/line-length.patch b/system/gettext-tiny/line-length.patch new file mode 100644 index 000000000..0ba978197 --- /dev/null +++ b/system/gettext-tiny/line-length.patch @@ -0,0 +1,15 @@ +https://github.com/sabotage-linux/gettext-tiny/issues/50 + +We're losing the battle of the bulge; someone really should make this use malloc. + +--- gettext-tiny-0.3.1_git20191130/src/msgfmt.c.old 2020-01-14 08:03:11.000000000 +0000 ++++ gettext-tiny-0.3.1_git20191130/src/msgfmt.c 2020-01-21 18:58:28.257709860 +0000 +@@ -160,7 +160,7 @@ + + int process(FILE *in, FILE *out, bool strict) { + struct mo_hdr mohdr = def_hdr; +- char line[8192]; char *lp; ++ char line[12288]; char *lp; + size_t off, i; + enum po_error t; + char convbuf[32768]; |