summaryrefslogtreecommitdiff
path: root/package/ncurses/patches/patch-misc_run_tic_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-30 15:26:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-30 15:26:54 +0100
commit1053b0a85a8d27c77b194f3d937f7309495939da (patch)
tree89245cf63a698dd040e8dbf225d420a23ee06f9c /package/ncurses/patches/patch-misc_run_tic_in
parent47e50c10a8bb626f3366912bc4691bd5fbddea45 (diff)
may be finally fix ncurses issues, reported by joerg
Diffstat (limited to 'package/ncurses/patches/patch-misc_run_tic_in')
-rw-r--r--package/ncurses/patches/patch-misc_run_tic_in33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/ncurses/patches/patch-misc_run_tic_in b/package/ncurses/patches/patch-misc_run_tic_in
new file mode 100644
index 000000000..b4c917fb8
--- /dev/null
+++ b/package/ncurses/patches/patch-misc_run_tic_in
@@ -0,0 +1,33 @@
+--- ncurses-5.7.orig/misc/run_tic.in 2006-10-28 21:43:30.000000000 +0200
++++ ncurses-5.7/misc/run_tic.in 2009-12-30 15:14:43.273450029 +0100
+@@ -58,22 +58,25 @@ echo '** Building terminfo database, ple
+
+ test -z "${DESTDIR}" && DESTDIR=
+
++# original comment:
+ # Allow tic to run either from the install-path, or from the build-directory.
+ # Do not do this if we appear to be cross-compiling. In that case, we rely
+ # on the host's copy of tic to compile the terminfo database.
+-if test "$THAT_CC" = "$THIS_CC" ; then
++# -- end comment --
++# ATTENTION: Always use native tic from build environment
++#if test "$THAT_CC" = "$THIS_CC" ; then
+ case "$PATH" in
+ :*) PATH=../progs:../lib:${DESTDIR}$bindir$PATH ;;
+ *) PATH=../progs:../lib:${DESTDIR}$bindir:$PATH ;;
+ esac
+ export PATH
+ SHLIB="sh $srcdir/shlib"
+-else
++#else
+ # Cross-compiling, so don't set PATH or run shlib.
+-SHLIB=
++#SHLIB=
+ # reset $suffix, since it applies to the target, not the build platform.
+-suffix=
+-fi
++#suffix=
++#fi
+
+
+ # set another env var that doesn't get reset when `shlib' runs, so `shlib' uses