aboutsummaryrefslogtreecommitdiffstats
path: root/package/screen/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-24 16:01:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-24 16:01:37 +0000
commit44eb6c8d1c390d43a9effe86a19588981b344267 (patch)
tree1bba4d7c88d42fc816930e41e3b06327dceac89c /package/screen/patches
parentf4582ec1b38418f4892a259d172b87dce885e902 (diff)
downloadupstream-44eb6c8d1c390d43a9effe86a19588981b344267.tar.gz
upstream-44eb6c8d1c390d43a9effe86a19588981b344267.tar.bz2
upstream-44eb6c8d1c390d43a9effe86a19588981b344267.zip
fix screen build when the braindead configure script finds a /lib/libshadow.a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/screen/patches')
-rw-r--r--package/screen/patches/100-cross_compile_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/screen/patches/100-cross_compile_fix.patch b/package/screen/patches/100-cross_compile_fix.patch
index a5529ec7e4..a05459f1de 100644
--- a/package/screen/patches/100-cross_compile_fix.patch
+++ b/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