aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gettext-tiny/line-length.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-06 08:55:33 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-14 16:33:50 +0000
commit21a0cfd664ae1b0066b1543e3b140665a49ffc42 (patch)
treeca6580b46b1fff62ec1228fbd5aa07af54e59a3e /testing/gettext-tiny/line-length.patch
parent214d886327c2da9d8e202951c80dd10d3dcc9dce (diff)
downloadaports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.bz2
aports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.xz
testing/gettext-tiny: new aport
Patches from adelie.
Diffstat (limited to 'testing/gettext-tiny/line-length.patch')
-rw-r--r--testing/gettext-tiny/line-length.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/gettext-tiny/line-length.patch b/testing/gettext-tiny/line-length.patch
new file mode 100644
index 0000000000..0ba9781977
--- /dev/null
+++ b/testing/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];