aboutsummaryrefslogtreecommitdiffstats
path: root/community/gettext-tiny/line-length.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-24 14:08:40 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-19 14:26:15 +0200
commit7b929f138f7d715edf616fe3d2a9dad7dd3185da (patch)
treed8b06cbb2db012364365e7eece00c1e1c8b66f8a /community/gettext-tiny/line-length.patch
parent8290dfb93f19ee7b84c7385f670e4dab9ceba0a7 (diff)
downloadaports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.gz
aports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.bz2
aports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.xz
community/gettext-tiny: move from testing
Diffstat (limited to 'community/gettext-tiny/line-length.patch')
-rw-r--r--community/gettext-tiny/line-length.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/gettext-tiny/line-length.patch b/community/gettext-tiny/line-length.patch
new file mode 100644
index 0000000000..0ba9781977
--- /dev/null
+++ b/community/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];