summaryrefslogtreecommitdiffstats
path: root/debian/patches/63-add-utempter-switch.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:30:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:30:44 +0000
commit1d1b5c2a2854ce0385a89401c504711270c6f7a3 (patch)
tree045f1bf9d39fb409f8f9bc1a46ce2f8ee8c67908 /debian/patches/63-add-utempter-switch.patch
parentAdding upstream version 4.9.1. (diff)
downloadscreen-1d1b5c2a2854ce0385a89401c504711270c6f7a3.tar.xz
screen-1d1b5c2a2854ce0385a89401c504711270c6f7a3.zip
Adding debian version 4.9.1-1.debian/4.9.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/63-add-utempter-switch.patch')
-rw-r--r--debian/patches/63-add-utempter-switch.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/63-add-utempter-switch.patch b/debian/patches/63-add-utempter-switch.patch
new file mode 100644
index 0000000..17285f7
--- /dev/null
+++ b/debian/patches/63-add-utempter-switch.patch
@@ -0,0 +1,24 @@
+Description: Add guarding commandline option around libutempter check
+Author: Axel Beckert <abe@debian.org>
+Forwarded: not-yet
+Bug-Debian: https://bugs.debian.org/819781
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -933,6 +933,8 @@
+ ],
+ [int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();], AC_DEFINE(GETUTENT), LIBS="$olibs")
+ )
++AC_ARG_ENABLE(utempter, [ --enable-utempter enable utempter support])
++if test "$enable_pam" = "yes"; then
+ AC_CHECKING(ut_host)
+ AC_TRY_COMPILE([
+ #include <time.h>
+@@ -949,6 +951,7 @@
+ AC_DEFINE(HAVE_UTEMPTER)
+ LIBS="$LIBS -lutempter"
+ fi
++fi
+
+ dnl
+ dnl **** loadav ****