summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-01-13 18:39:49 +0000
committerAron Griffis <agriffis@gentoo.org>2004-01-13 18:39:49 +0000
commitd5c347f9af2c3149be1af44df3666d3f6f435089 (patch)
treedcc42ef8a816ee8bb0c6d68a187c054ade57d356 /app-misc/screen/files
parentFix for python 2.3. (diff)
downloadgentoo-2-d5c347f9af2c3149be1af44df3666d3f6f435089.tar.gz
gentoo-2-d5c347f9af2c3149be1af44df3666d3f6f435089.tar.bz2
gentoo-2-d5c347f9af2c3149be1af44df3666d3f6f435089.zip
Add patch (modified) from http://groups.yahoo.com/group/gnu-screen/message/2863 to fix bug 31070. This allows alpha to build with optimization again since glibc's vsprintf function is being used instead of screen's broken internal implementation.
Diffstat (limited to 'app-misc/screen/files')
-rw-r--r--app-misc/screen/files/digest-screen-4.0.1-r21
-rw-r--r--app-misc/screen/files/screen-4.0.1-vsprintf.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/app-misc/screen/files/digest-screen-4.0.1-r2 b/app-misc/screen/files/digest-screen-4.0.1-r2
new file mode 100644
index 000000000000..80f199b5715c
--- /dev/null
+++ b/app-misc/screen/files/digest-screen-4.0.1-r2
@@ -0,0 +1 @@
+MD5 2f674d5a7a299abf085d0b69c90de4f8 screen-4.0.1.tar.gz 837445
diff --git a/app-misc/screen/files/screen-4.0.1-vsprintf.patch b/app-misc/screen/files/screen-4.0.1-vsprintf.patch
new file mode 100644
index 000000000000..b2f7a20f9e92
--- /dev/null
+++ b/app-misc/screen/files/screen-4.0.1-vsprintf.patch
@@ -0,0 +1,13 @@
+--- screen-4.0.1/configure.in 2003-06-03 07:58:24.000000000 -0400
++++ screen-4.0.1/configure.in.agriffis 2004-01-13 12:07:37.000000000 -0500
+@@ -1206,7 +1206,9 @@
+ rm -f /tmp/conftest*
+
+ AC_MSG_CHECKING(for vsprintf)
+-AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no))
++AC_TRY_LINK([#include <stdarg.h>],[va_list valist; vsprintf(0,0,valist);],
++ [AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS)],
++ [AC_MSG_RESULT(no)])
+
+ AC_HEADER_DIRENT
+