aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-05 10:45:06 -0400
committerChris Larson <chris_larson@mentor.com>2010-11-05 10:45:41 -0400
commite58fe232ef1630414daa21da3ddc3464f90c4e17 (patch)
treec32b479a20b2d226889b756af5b3edde4d523a06 /recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
parent1d5c108b01d2cfdc3fbb1ce81d8268e0334e315d (diff)
downloadopenembedded-e58fe232ef1630414daa21da3ddc3464f90c4e17.tar.gz
termcap: add 2.0.8 with gentoo patchset
No one should really be using this, but what the heck. Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch')
-rw-r--r--recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch b/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
new file mode 100644
index 0000000000..936a62d62f
--- /dev/null
+++ b/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
@@ -0,0 +1,11 @@
+--- termcap-2.0.8/termcap.c.colon
++++ termcap-2.0.8/termcap.c
+@@ -136,7 +136,7 @@
+ c = *s++ & 0x1f;
+
+ /* See if we want to translate. */
+- if ((c & 0x7f) > 31)
++ if ((c & 0x7f) > 31 && c != ':')
+ *r++ = c;
+ else {
+ len = s - start;