summaryrefslogtreecommitdiff
path: root/package/ncurses/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-02 17:53:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-02 17:53:19 +0000
commit51eafc92f8ce2c100b6b20cb39ff5cac7e24989e (patch)
tree9869773c283de9e68ea49309e07bfeacf1a215ab /package/ncurses/patches
parent995d3e0589ac0e944f534f5c874d6e18151e80b7 (diff)
downloadmtk-20170518-51eafc92f8ce2c100b6b20cb39ff5cac7e24989e.zip
mtk-20170518-51eafc92f8ce2c100b6b20cb39ff5cac7e24989e.tar.gz
mtk-20170518-51eafc92f8ce2c100b6b20cb39ff5cac7e24989e.tar.bz2
move ncurses to trunk and 7.07 (util-linux depends on it)
SVN-Revision: 7854
Diffstat (limited to 'package/ncurses/patches')
-rw-r--r--package/ncurses/patches/500-cross.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ncurses/patches/500-cross.patch b/package/ncurses/patches/500-cross.patch
new file mode 100644
index 0000000..ebebc22
--- /dev/null
+++ b/package/ncurses/patches/500-cross.patch
@@ -0,0 +1,12 @@
+diff -ur ncurses-5.6/aclocal.m4 ncurses-5.6-owrt/aclocal.m4
+--- ncurses-5.6/aclocal.m4 2006-12-17 17:12:38.000000000 +0100
++++ ncurses-5.6-owrt/aclocal.m4 2007-06-09 19:47:38.000000000 +0200
+@@ -3816,7 +3816,7 @@
+ EXTRA_LDFLAGS="-Wl,-rpath,\${libdir} $EXTRA_LDFLAGS"
+ fi
+ CF_SHARED_SONAME
+- MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,-lc -o $[@]'
++ MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]'
+ ;;
+ openbsd2*)
+ CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"