summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-termcap.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
commit7792c21583f7131ad63a9cb6e25b7ef38652d3a7 (patch)
tree35ae86a1ec3a303f6ac7c0146111c635eff41fb4 /sysutils/screen/files/patch-termcap.c
parent- Switch databases/libmemcache to USES=libtool, drop .la files (diff)
Rename sysutils/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363335
Diffstat (limited to 'sysutils/screen/files/patch-termcap.c')
-rw-r--r--sysutils/screen/files/patch-termcap.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-termcap.c b/sysutils/screen/files/patch-termcap.c
new file mode 100644
index 000000000000..426bb1516fd6
--- /dev/null
+++ b/sysutils/screen/files/patch-termcap.c
@@ -0,0 +1,15 @@
+--- termcap.c.orig Wed Jul 5 16:33:30 2000
++++ termcap.c Wed Oct 11 05:40:12 2000
+@@ -355,11 +355,7 @@
+ if (D_CG0)
+ {
+ if (D_CS0 == 0)
+-#ifdef TERMINFO
+- D_CS0 = "\033(%p1%c";
+-#else
+- D_CS0 = "\033(%.";
+-#endif
++ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
+ if (D_CE0 == 0)
+ D_CE0 = "\033(B";
+ D_AC = 0;