summaryrefslogtreecommitdiffstats
path: root/meta/packages/ncurses/ncurses/run_tic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/ncurses/ncurses/run_tic.patch')
-rw-r--r--meta/packages/ncurses/ncurses/run_tic.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/ncurses/ncurses/run_tic.patch b/meta/packages/ncurses/ncurses/run_tic.patch
new file mode 100644
index 0000000000..bebf8d4018
--- /dev/null
+++ b/meta/packages/ncurses/ncurses/run_tic.patch
@@ -0,0 +1,23 @@
1
2#
3# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- ncurses-4.2/misc/run_tic.sh~run_tic
7+++ ncurses-4.2/misc/run_tic.sh
8@@ -108,7 +108,14 @@
9 SRC=$TMP
10 fi
11
12-if ( $srcdir/shlib tic -s $SRC )
13+if [ "$HOSTCC" != "$CC" ]
14+then
15+ SHLIB=""
16+else
17+ SHLIB="$srcdir/shlib"
18+fi
19+
20+if ( ${SHLIB} tic -s $SRC )
21 then
22 echo '** built new '$TERMINFO
23 else