summaryrefslogtreecommitdiffstats
path: root/debian/patches/smbclient-pager.patch
diff options
context:
space:
mode:
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 */