diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/nano/binpack.diff.cr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/nano/binpack.diff.cr b/data/nano/binpack.diff.cr new file mode 100644 index 000000000..fa498fd11 --- /dev/null +++ b/data/nano/binpack.diff.cr @@ -0,0 +1,12 @@ +--- nano-4.5/src/nano.c 2019-11-13 17:10:31.000000000 -1000 ++++ nano-4.5/src/nano.c.new 2019-11-13 17:10:08.000000000 -1000 +@@ -1899,6 +1899,9 @@ + + int main(int argc, char **argv) + { ++ if (!getenv("TERMINFO")) { ++ setenv("TERMINFO", "/binpack/usr/share/terminfo", true); ++ } + int stdin_flags, optchr; + #ifdef ENABLE_NANORC + bool ignore_rcfiles = FALSE; |