summaryrefslogtreecommitdiff
path: root/recipes/screen/screen-4.0.3/no-utempter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/screen/screen-4.0.3/no-utempter.patch')
-rw-r--r--recipes/screen/screen-4.0.3/no-utempter.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/screen/screen-4.0.3/no-utempter.patch b/recipes/screen/screen-4.0.3/no-utempter.patch
new file mode 100644
index 0000000000..22d21bb919
--- /dev/null
+++ b/recipes/screen/screen-4.0.3/no-utempter.patch
@@ -0,0 +1,17 @@
+Index: screen-4.0.3/configure.in
+===================================================================
+--- screen-4.0.3.orig/configure.in 2009-09-11 18:42:08.338231443 -0700
++++ screen-4.0.3/configure.in 2009-09-11 18:43:39.378663533 -0700
+@@ -1243,12 +1243,6 @@
+ #include <utmp.h>
+ #endif
+ ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST))
+-AH_TEMPLATE([HAVE_UTEMPTER])
+-AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
+-if test "$have_utempter" = yes; then
+- AC_DEFINE(HAVE_UTEMPTER)
+- LIBS="$LIBS -lutempter"
+-fi
+
+ dnl
+ dnl **** loadav ****