summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>1998-08-07 00:43:12 +0000
committertv <tv>1998-08-07 00:43:12 +0000
commit4bed5e6dd73730b7b309a39621512b0ae0564216 (patch)
tree1211418677d74ac6df21e21f848786f208a21086
parent9a1047bfc1760d9c7a299ec281a190d0b3fed05b (diff)
downloadpkgsrc-4bed5e6dd73730b7b309a39621512b0ae0564216.tar.gz
Make sure to use stdarg.h (broken check in configure that normally
activates a LP64-broken workaround for a missing varargs implementation).
-rw-r--r--misc/screen/patches/patch-ad33
1 files changed, 33 insertions, 0 deletions
diff --git a/misc/screen/patches/patch-ad b/misc/screen/patches/patch-ad
new file mode 100644
index 00000000000..f7071f72c76
--- /dev/null
+++ b/misc/screen/patches/patch-ad
@@ -0,0 +1,33 @@
+--- configure.orig Thu Aug 6 03:29:10 1998
++++ configure Thu Aug 6 03:29:51 1998
+@@ -2620,17 +2620,6 @@
+ rm -f /tmp/conftest*
+
+ test -n "$silent" || echo "checking for vsprintf"
+-cat > conftest.${ac_ext} <<EOF
+-#include "confdefs.h"
+-
+-#include <stdio.h>
+-int main() { return 0; }
+-int t() { vsprintf(0,0,0);; return 0; }
+-EOF
+-if eval $ac_compile; then
+- rm -rf conftest*
+-
+-{
+ test -n "$verbose" && \
+ echo " defining USEVARARGS"
+ echo "#define" USEVARARGS "1" >> confdefs.h
+@@ -2639,12 +2628,6 @@
+ \${ac_uA}USEVARARGS\${ac_uB}USEVARARGS\${ac_uC}1\${ac_uD}
+ \${ac_eA}USEVARARGS\${ac_eB}USEVARARGS\${ac_eC}1\${ac_eD}
+ "
+-}
+-
+-
+-fi
+-rm -f conftest*
+-
+
+ test -n "$silent" || echo "checking for directory library header"
+ ac_dir_header=