summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 16:53:16 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 16:53:16 +0100
commit5d05b1a54e12331652b6f7ac09a26781d3884cd1 (patch)
tree8f7f8136f6d3cb373355e76ccd67e25e05ce8f69
parente013ed5a3b5ec0a3d6d99e7716a02be42e0aedf9 (diff)
downloadqipackages-fork-5d05b1a54e12331652b6f7ac09a26781d3884cd1.tar.gz
octave: fix pager flags to work with busybox'es less
-rw-r--r--octave/patches/030-pager.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/octave/patches/030-pager.patch b/octave/patches/030-pager.patch
new file mode 100644
index 0000000..c24cd7b
--- /dev/null
+++ b/octave/patches/030-pager.patch
@@ -0,0 +1,13 @@
+Index: octave-3.2.4/scripts/startup/main-rcfile
+===================================================================
+--- octave-3.2.4.orig/scripts/startup/main-rcfile 2011-01-02 16:50:10.000000000 +0100
++++ octave-3.2.4/scripts/startup/main-rcfile 2011-01-02 16:50:47.000000000 +0100
+@@ -11,7 +11,7 @@
+ filesep, "inputrc"));
+
+ if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
+- PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"');
++ PAGER_FLAGS ('-E');
+ endif
+
+ ## This appears here instead of in the pkg/PKG_ADD file so that --norc