summaryrefslogtreecommitdiffstats
path: root/debian/patches/smbclient-pager.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:02 +0000
commit0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch)
tree2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/patches/smbclient-pager.patch
parentAdding upstream version 2:4.20.0+dfsg. (diff)
downloadsamba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz
samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/smbclient-pager.patch')
-rw-r--r--debian/patches/smbclient-pager.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/smbclient-pager.patch b/debian/patches/smbclient-pager.patch
new file mode 100644
index 0000000..4c7af22
--- /dev/null
+++ b/debian/patches/smbclient-pager.patch
@@ -0,0 +1,22 @@
+From: Steve Langasek <vorlon@debian.org>
+Subject: Use the pager alternative as pager is PAGER is undefined
+
+Bug-Debian: http://bugs.debian.org/135603
+Forwarded: not-needed
+---
+ source3/include/local.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/source3/include/local.h b/source3/include/local.h
+index 7f97d4e..60a00d1 100644
+--- a/source3/include/local.h
++++ b/source3/include/local.h
+@@ -88,7 +88,7 @@
+ /* the default pager to use for the client "more" command. Users can
+ override this with the PAGER environment variable */
+ #ifndef PAGER
+-#define PAGER "more"
++#define PAGER "/usr/bin/pager"
+ #endif
+
+ /* the size of the uid cache used to reduce valid user checks */