pkgsrc/devel/ncurses/patches/patch-aa
adam e4ce8f339e Changes 5.8:
Interface changes
* turn on _XOPEN_CURSES definition in curses.h.
* change _nc_has_mouse to has_mouse, reflect its use in C++ and Ada95.
* add is_pad and is_subwin functions for opaque access to the WINDOW structure.
* add tiparm, based on review of X/Open Curses Issue 7.

Library Improvements
* add a terminal driver for Windows console, which supports a MinGW port to
  Windows.
* add extended functions which specify the SCREEN pointer for several curses
  functions which use the global SP.
* improve the NCURSES_NO_UTF8_ACS feature by adding a check for an extended
  terminfo capability U8.
* improve performance of tigetstr, etc., by using hashing code from tic.
* add WACS_xxx definitions to wide-character configuration for thick- and
  double-lines.
* modify init_pair to allow caller to create extra color pairs beyond the
  color_pairs limit, which use default colors.

Improvements to Programs
* add tabs program.
* modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted,
  unique mapping).
* add checks in tic for inconsistent cursor-movement controls, and for
  inconsistent printer-controls.
* add special case to _nc_infotocap (used by tic and infocmp) to recognize the
  setaf/setab strings from xterm+256color and xterm+88color, and provide a
  reduced version which works with termcap.
2011-02-28 11:02:46 +00:00

23 lines
921 B
Text

$NetBSD: patch-aa,v 1.16 2011/02/28 11:02:46 adam Exp $
--- misc/run_tic.in.orig 2006-10-28 21:43:30.000000000 +0200
+++ misc/run_tic.in
@@ -122,7 +122,7 @@ TICDIR=`echo $TERMINFO | sed -e 's%/shar
# would generate a lot of confusing error messages if we tried to overwrite it.
# We explicitly remove its contents rather than the directory itself, in case
# the directory is actually a symbolic link.
-( test -d "$TERMINFO" && cd $TERMINFO && rm -fr ? 2>/dev/null )
+#( test -d "$TERMINFO" && cd $TERMINFO && rm -fr ? 2>/dev/null )
if test "$ext_funcs" = 1 ; then
cat <<EOF
@@ -164,6 +164,9 @@ else
fi
fi
+# For NetBSD pkgsrc, don't bother with setting a symbolic link.
+exit 0
+
# Make a symbolic link to provide compatibility with applications that expect
# to find terminfo under /usr/lib. That is, we'll _try_ to do that. Not
# all systems support symbolic links, and those that do provide a variety