summaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch')
-rw-r--r--recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch b/recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch
new file mode 100644
index 0000000000..70410e5f55
--- /dev/null
+++ b/recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch
@@ -0,0 +1,13 @@
+--- termcap-2.0.8-clean/tparam.c
++++ termcap-2.0.8/tparam.c
+@@ -299,6 +299,10 @@
+ case 'D': /* %D means weird Delta Data transformation. */
+ argp[0] -= 2 * (tem % 16);
+ break;
++
++ case 'p': /* %p means push nth arg - ignore. */
++ *p++;
++ break;
+ }
+ }
+ else