Debian Patches

Status for nvi/1.81.6-17

Patch Description Author Forwarded Bugs Origin Last update
09casting.patch No description.
diff -Naur nvi-1.81.6.orig/vi/v_ch.c nvi-1.81.6/vi/v_ch.c
<hesso@pool.math.tu-berlin.de> no
01additional_upstream_data.patch A few documentation files cherry-picked from the last stable release tarball, because they are missing in later development
branch releases.

diff -Naur nvi-1.81.6.orig/nvi-1.79/FAQ nvi-1.81.6/nvi-1.79/FAQ
<hesso@pool.math.tu-berlin.de> no
03db4.patch libdb4 compatibility adjustments.=================================================================== Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no 2009-03-01
04confdefs.patch Help configure by decreeing that some headers are present.
diff -Naur nvi-1.81.6.orig/build/confdefs.h nvi-1.81.6/build/confdefs.h
<hesso@pool.math.tu-berlin.de> no
06default_value_escapetime.patch Increase the default 'escapetime' setting to accommodate slow lines.
diff -Naur nvi-1.81.6.orig/common/options.c nvi-1.81.6/common/options.c
<hesso@pool.math.tu-berlin.de> no
07flush_cache.patch No description.
diff -Naur nvi-1.81.6.orig/common/db1.c nvi-1.81.6/common/db1.c
<hesso@pool.math.tu-berlin.de> no
08lfs.patch Insert a safety check to save large files from being overwritten.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
08safe_printf.patch No description.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
08tempfile_umask.patch No description.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
10no_one_line_visual.patch Catch segfaults when the screen is only one line high.
diff -Naur nvi-1.81.6.orig/vi/vi.c nvi-1.81.6/vi/vi.c
<hesso@pool.math.tu-berlin.de> no
11backward_sentence_moving.patch No description.
diff -Naur nvi-1.81.6.orig/vi/v_sentence.c nvi-1.81.6/vi/v_sentence.c
<hesso@pool.math.tu-berlin.de> no
12horiz_scroll_count.patch No description.
diff -Naur nvi-1.81.6.orig/vi/vs_refresh.c nvi-1.81.6/vi/vs_refresh.c
<hesso@pool.math.tu-berlin.de> no
13widechar_horrors.patch This patch tries to cope with the fact that widechar supportin nvi is at best rudimentary.
Hunk 1)
* Due to "ch = *t", this code is not wide-char aware, so
cast the value to a proper type so the KEY_ macros make
the right choice.
Hunk 2)
* Printing of the in-/decreased number back into the screen
buffer is not widechar-aware, either. Add a dirty fix.
Cf. #497349.
<hesso@pool.math.tu-berlin.de> no
14private_regex_fixes.patch Fixes to the private regex library; includes fix for #523934.
diff -Naur regex.orig/regcomp.c regex/regcomp.c
<hesso@pool.math.tu-berlin.de> no
15search_word.patch Fix {^A} command. (End-of-word was not included in searchregexp leading to false positives.) Al Viro <viro@ZenIV.linux.org.uk> no
16manpage_errors.patch Fix a truckload of roff markup glitches.
diff -Naur nvi-1.81.6.orig/docs/vi.man/vi.1 nvi-1.81.6/docs/vi.man/vi.1
<hesso@pool.math.tu-berlin.de> no
17tutorial_typos.patch Fix typos in the nvi tutorial.=================================================================== Unknown no
18dbpagesize_binpower.patch Make sure that the pagesize passed to db__set_pagesize() isa power of two. <hesso@pool.math.tu-berlin.de> no
19include_term_h.patch Add <term.h> to the include list to suppress a few warnings.
diff -Naur nvi-1.81.6.orig/cl/cl_funcs.c nvi-1.81.6/cl/cl_funcs.c
<hesso@pool.math.tu-berlin.de> no
20glibc_has_grantpt.patch glibc has grantpt(), so only hceck for HAVE_SYS5_PTY on non-glibc installations.

diff -Naur nvi-1.81.6.orig/ex/ex_script.c nvi-1.81.6/ex/ex_script.c
<hesso@pool.math.tu-berlin.de> no
21exrc_writability_check.patch No description.
diff -Naur nvi-1.81.6.orig/ex/ex_init.c nvi-1.81.6/ex/ex_init.c
<hesso@pool.math.tu-berlin.de> no
23debian_alternatives.patch Adapt the internal program name if nvi was called via one of the Debian alternative symlinks.

diff -Naur nvi-1.81.6.orig/common/gs.c nvi-1.81.6/common/gs.c
<hesso@pool.math.tu-berlin.de> no
24fallback_to_dumb_term.patch If there's no $TERM around, just fall back to "dumb".
diff -Naur nvi-1.81.6.orig/cl/cl_main.c nvi-1.81.6/cl/cl_main.c
<hesso@pool.math.tu-berlin.de> no
25manpage_note_dropped_F.patch Replace the manpage paragraph about the '-F' commandline option with a notice that is has been dropped.
===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
26trailing_tab_segv.patch Prevent a segfault if a trailing tab is pushed to a new line by insertingcharacters before it if 'set number' is in effect. <hesso@pool.math.tu-berlin.de> no
27support_C_locale.patch Allow users to edit 8-bit files even under LC_CTYPE=C.=================================================================== Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
29file_backup.patch Save the intermediate CHAR2INT conversion pointer because that pointer is reused by later conversions in calls below.

===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
30make_recover_script_init_ready.patch Changes recover script so it can be run by initThis was mostly just merging code from the previous init script Bryan Quigley <bryan.quigley@canonical.com> no
31regex_heap_overflow.patch Disallow an excessively large pattern space Apply heap overflow vulnerability patch to bundled regex library.
Unfortunately nvi uses the BSD-specific REG_NOSPEC flag, so we can't easily
switch to the system library.

===================================================================
no debian vendor, https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2841837793bd095a82f477e9c370cfe6cfb3862c 2016-12-31
32allow_exec_of_nvi_opened_file.patch Allow exec of nvi-opened file
This patch allows the files that are being edited by nvi to be
executed by others. Otherwise a ETXTBSY will occur.

Fix proposed in https://bugs.debian.org/891174 . The original
bug report also listed the fix.

Explanation from Bug#891174:

Opening the file read-only is enough for flock() -- please notice that
ep->fd is only used to keep the lock hot, that's not the descriptor that
is used for reading or writing data to the file.
Jim Lebeau <jiml@ladsnet.com> no debian 2016-05-20
33-fix-spelling-error.patch Fix spelling mistakes.=================================================================== Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-11-28
34-fix-long-line.patch Breaking very long Line.=================================================================== Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-11-28
35-fix-encoding.patch converting the file to UTF-8 using iconv. Example: iconv -f ISO-8859-15 -t UTF-8 < french.
===================================================================
Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-12-01

All known versions for source package 'nvi'

Links