summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authortv <tv>1998-08-07 00:43:12 +0000
committertv <tv>1998-08-07 00:43:12 +0000
commit190514355a7986b509d4d729260312ec71987926 (patch)
tree1211418677d74ac6df21e21f848786f208a21086 /misc/screen
parent95e26756d4b1074e99f1665915584b5b74604ddd (diff)
downloadpkgsrc-190514355a7986b509d4d729260312ec71987926.tar.gz
Make sure to use stdarg.h (broken check in configure that normally
activates a LP64-broken workaround for a missing varargs implementation).
Diffstat (limited to 'misc/screen')
-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=