summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:23 +0000
commit17727347dd594091ed9eac73cdbea82f47e050c6 (patch)
treee148c024e07eabd5d37feb7b49a5caa27e1aaea7 /debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch
parentAdding debian version 2.40-6. (diff)
downloadutil-linux-17727347dd594091ed9eac73cdbea82f47e050c6.tar.xz
util-linux-17727347dd594091ed9eac73cdbea82f47e050c6.zip
Adding debian version 2.40-7.debian/2.40-7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch')
-rw-r--r--debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch b/debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch
new file mode 100644
index 0000000..6d299b2
--- /dev/null
+++ b/debian/patches/upstream/pam_lastlog2-link-against-liblastlog.patch
@@ -0,0 +1,32 @@
+From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <thomas@t-8ch.de>
+Date: Mon, 1 Apr 2024 22:53:32 +0200
+Subject: pam_lastlog2: link against liblastlog
+MIME-Version: 1.0
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: 8bit
+
+While at it also drop the duplicated include path.
+
+Fixes #2897
+Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
+(cherry picked from commit 2722b40012740372daf3585b7c071fcbede13359)
+---
+ pam_lastlog2/src/Makemodule.am | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/pam_lastlog2/src/Makemodule.am b/pam_lastlog2/src/Makemodule.am
+index 9884416..f9a9b6b 100644
+--- a/pam_lastlog2/src/Makemodule.am
++++ b/pam_lastlog2/src/Makemodule.am
+@@ -10,8 +10,9 @@ EXTRA_pam_lastlog2_la_DEPENDENCIES = \
+ pam_lastlog2_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(SOLIB_CFLAGS) \
+- -I$(ul_liblastlog2_incdir) \
+- -Iliblastlog2/src
++ -I$(ul_liblastlog2_incdir)
++
++pam_lastlog2_la_LIBADD = liblastlog2.la
+
+ pam_lastlog2_la_LDFLAGS = $(SOLIB_LDFLAGS) -module -avoid-version -shared
+ if HAVE_VSCRIPT