diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-05-24 16:01:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-05-24 16:01:37 +0000 |
commit | da603a972bd36828a0f8f0e40caf079122bf2154 (patch) | |
tree | bf6abed1107ea2471b6e7ba27283d213fbc31a75 | |
parent | 0d7667d477d6b852dc56857352474537731357a4 (diff) | |
download | mtk-20170518-da603a972bd36828a0f8f0e40caf079122bf2154.zip mtk-20170518-da603a972bd36828a0f8f0e40caf079122bf2154.tar.gz mtk-20170518-da603a972bd36828a0f8f0e40caf079122bf2154.tar.bz2 |
fix screen build when the braindead configure script finds a /lib/libshadow.a
SVN-Revision: 1052
-rw-r--r-- | openwrt/package/screen/patches/100-cross_compile_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/screen/patches/100-cross_compile_fix.patch b/openwrt/package/screen/patches/100-cross_compile_fix.patch index a5529ec..a05459f 100644 --- a/openwrt/package/screen/patches/100-cross_compile_fix.patch +++ b/openwrt/package/screen/patches/100-cross_compile_fix.patch @@ -496,3 +496,14 @@ diff -urN screen-4.0.2.old/pty.c screen-4.0.2.dev/pty.c #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL) # include <sys/ttold.h> +--- screen-4.0.2/configure.old 2005-05-24 18:49:30.000000000 +0200 ++++ screen-4.0.2/configure 2005-05-24 18:49:54.000000000 +0200 +@@ -6598,8 +6598,6 @@ + LIBS="$oldlibs" + fi + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +-test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec" +-test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow" + oldlibs="$LIBS" + LIBS="$LIBS -lsun" + { echo "$as_me:$LINENO: checking IRIX sun library..." >&5 |