From 3e567218b60d7f885e769e1a2a07d84d38f11c13 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 19 Dec 2012 13:02:54 +0400 Subject: Update examples --- .../ncurses/patches/04-fix-tabset-directory.diff | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 examples/ncurses/patches/04-fix-tabset-directory.diff (limited to 'examples/ncurses/patches/04-fix-tabset-directory.diff') diff --git a/examples/ncurses/patches/04-fix-tabset-directory.diff b/examples/ncurses/patches/04-fix-tabset-directory.diff new file mode 100644 index 0000000..896bf57 --- /dev/null +++ b/examples/ncurses/patches/04-fix-tabset-directory.diff @@ -0,0 +1,45 @@ +Description: Set tabset directory to /usr/share/tabset + By default tun-tic.sh assumes the tabset directory is a sibling to + the default terminfo directory, which is wrong the tabset files are + installed into /usr/share/tabset, but the default terminfo directory + should be /etc/terminfo rather than /usr/share/terminfo. This patch + corrects that assumption. +Author: Sven Joachim +Bug-Debian: http://bugs.debian.org/509919 +Bug-Debian: http://bugs.debian.org/653435 +Forwarded: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653435#18 +Last-Update: 2012-01-23 + +--- + misc/Makefile.in | 2 +- + misc/gen_edit.sh | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +--- a/misc/gen_edit.sh ++++ b/misc/gen_edit.sh +@@ -37,12 +37,12 @@ + # The leaf directory names (lib, tabset, terminfo) + # + +-: ${ticdir=@TERMINFO@} ++: ${datadir=@datadir@} + : ${xterm_new=@WHICH_XTERM@} + + # If we're not installing into /usr/share/, we'll have to adjust the location + # of the tabset files in terminfo.src (which are in a parallel directory). +-TABSET=`echo $ticdir | sed -e 's%/terminfo$%/tabset%'` ++TABSET=${datadir}/tabset + if test "x$TABSET" != "x/usr/share/tabset" ; then + cat <$@ + + $(DESTDIR)$(bindir) \ -- cgit v1.2.3