aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch')
-rw-r--r--recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch b/recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch
new file mode 100644
index 0000000..429f2ce
--- /dev/null
+++ b/recipes-connectivity/samba/samba-3.6.8/smbclient-pager.patch
@@ -0,0 +1,18 @@
+Description: Use the pager alternative as pager is PAGER is undefined
+Author: Steve Langasek <vorlon@debian.org>
+Bug-Debian: http://bugs.debian.org/135603
+Forwarded: not-needed
+
+Index: experimental/source3/include/local.h
+===================================================================
+--- experimental.orig/source3/include/local.h
++++ experimental/source3/include/local.h
+@@ -127,7 +127,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 */