diff options
author | tv <tv> | 1998-08-07 13:57:34 +0000 |
---|---|---|
committer | tv <tv> | 1998-08-07 13:57:34 +0000 |
commit | 41e58e456f4c8ebccb91529b8bdd61674d6ab82d (patch) | |
tree | 10e3c9d6804bb8cf098c83cbc71ccfb952cb226c /misc | |
parent | d7cddbace2d55a55e9abe2c6ce389327c05eace2 (diff) | |
download | pkgsrc-41e58e456f4c8ebccb91529b8bdd61674d6ab82d.tar.gz |
Another Alphaism: fix broken check for args to getloadavg(). All NetBSD
systems return three doubles.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/screen/patches/patch-ad | 47 |
1 files changed, 42 insertions, 5 deletions
diff --git a/misc/screen/patches/patch-ad b/misc/screen/patches/patch-ad index a9ae481c4dc..7d98ec94b2c 100644 --- a/misc/screen/patches/patch-ad +++ b/misc/screen/patches/patch-ad @@ -1,8 +1,45 @@ -$NetBSD: patch-ad,v 1.2 1998/08/07 11:10:33 agc Exp $ +$NetBSD: patch-ad,v 1.3 1998/08/07 13:57:34 tv Exp $ ---- configure.orig Thu Aug 6 03:29:10 1998 -+++ configure Thu Aug 6 03:29:51 1998 -@@ -2620,17 +2620,6 @@ +--- configure.orig Fri May 2 10:37:26 1997 ++++ configure Thu Aug 6 08:29:37 1998 +@@ -2096,36 +2096,8 @@ + + _CUT_HERE_ + +-#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || defined(__alpha) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k)) +-loadtype=long +-# if defined(apollo) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) +-loadscale=65536 +-# else +-# if defined(FSCALE) && !defined(__osf__) +-# undef FSCALE +-loadscale=FSCALE +-# else +-# ifdef sgi +-loadscale=1024 +-loadtype=int +-# else +-# if defined(MIPS) || defined(SVR4) || defined(m88k) +-loadscale=256 +-# else /* not MIPS */ +-loadscale=1000 /* our default value */ +-# endif /* MIPS */ +-# endif /* sgi */ +-# endif /* not FSCALE */ +-# endif /* not apollo */ +-#else + loadtype=double + loadscale=1 +-#endif +-#ifdef alliant +-loadnum=4 +-#else +-loadnum=3 +-#endif + + EOF + $CPP $DEFS conftest.c 2>/dev/null | sed -e '1,/_CUT_HERE_/d' > conftest.out +@@ -2620,17 +2592,6 @@ rm -f /tmp/conftest* test -n "$silent" || echo "checking for vsprintf" @@ -20,7 +57,7 @@ $NetBSD: patch-ad,v 1.2 1998/08/07 11:10:33 agc Exp $ test -n "$verbose" && \ echo " defining USEVARARGS" echo "#define" USEVARARGS "1" >> confdefs.h -@@ -2639,12 +2628,6 @@ +@@ -2639,12 +2600,6 @@ \${ac_uA}USEVARARGS\${ac_uB}USEVARARGS\${ac_uC}1\${ac_uD} \${ac_eA}USEVARARGS\${ac_eB}USEVARARGS\${ac_eC}1\${ac_eD} " |