summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/screen/files/4.1.0-no-libelf.patch')
-rw-r--r--app-misc/screen/files/4.1.0-no-libelf.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/screen/files/4.1.0-no-libelf.patch b/app-misc/screen/files/4.1.0-no-libelf.patch
new file mode 100644
index 0000000..8008058
--- /dev/null
+++ b/app-misc/screen/files/4.1.0-no-libelf.patch
@@ -0,0 +1,17 @@
+--- screen-4.1.0/configure.in 2009-07-22 14:06:05.000000000 -0400
++++ screen-4.1.0-no-libelf/configure.in 2009-07-22 14:07:50.000000000 -0400
+@@ -201,14 +201,6 @@
+ #endif
+ ], LIBS="$LIBS -lsocket -linet";seqptx=1)
+
+-oldlibs="$LIBS"
+-LIBS="$LIBS -lelf"
+-AC_CHECKING(SVR4)
+-AC_TRY_LINK([#include <utmpx.h>
+-],,
+-[AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN),
+-[AC_CHECK_HEADER(elf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN))])]
+-,LIBS="$oldlibs")
+ AC_CHECK_HEADERS([stropts.h string.h strings.h])
+
+ AC_CHECKING(for Solaris 2.x)