aboutsummaryrefslogtreecommitdiffstats
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 @@
+
+#
+# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ncurses-4.2/misc/run_tic.sh~run_tic
++++ ncurses-4.2/misc/run_tic.sh
+@@ -108,7 +108,14 @@
+ SRC=$TMP
+ fi
+
+-if ( $srcdir/shlib tic -s $SRC )
++if [ "$HOSTCC" != "$CC" ]
++then
++ SHLIB=""
++else
++ SHLIB="$srcdir/shlib"
++fi
++
++if ( ${SHLIB} tic -s $SRC )
+ then
+ echo '** built new '$TERMINFO
+ else