summaryrefslogtreecommitdiff
path: root/devel/charva/files/patch-c_src_Toolkit.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /devel/charva/files/patch-c_src_Toolkit.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'devel/charva/files/patch-c_src_Toolkit.c')
-rw-r--r--devel/charva/files/patch-c_src_Toolkit.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/devel/charva/files/patch-c_src_Toolkit.c b/devel/charva/files/patch-c_src_Toolkit.c
index ab2c57c977ed..1a1fb852ae23 100644
--- a/devel/charva/files/patch-c_src_Toolkit.c
+++ b/devel/charva/files/patch-c_src_Toolkit.c
@@ -1,18 +1,18 @@
---- c/src/Toolkit.c.orig Wed Dec 13 12:29:03 2006
-+++ c/src/Toolkit.c Wed Dec 13 12:35:30 2006
-@@ -372,6 +372,7 @@
- if (colors_started)
- attr = COLOR_PAIR(colorpair_);
-
-+ attron(attr);
- // If the top of the box is outside the clipping rectangle, don't bother
- // to draw the top.
- if (top_ >= top && top_ <= bottom) {
-@@ -414,6 +415,7 @@
- my_addch_with_clip(ACS_VLINE); // right vertical line
- }
- }
-+ attroff(attr);
- }
-
- JNIEXPORT void JNICALL Java_charva_awt_Toolkit_blankBoxNative
+--- c/src/Toolkit.c.orig 2016-06-20 12:40:44 UTC
++++ c/src/Toolkit.c
+@@ -372,6 +372,7 @@ JNIEXPORT void JNICALL Java_charva_awt_T
+ if (colors_started)
+ attr = COLOR_PAIR(colorpair_);
+
++ attron(attr);
+ // If the top of the box is outside the clipping rectangle, don't bother
+ // to draw the top.
+ if (top_ >= top && top_ <= bottom) {
+@@ -414,6 +415,7 @@ JNIEXPORT void JNICALL Java_charva_awt_T
+ my_addch_with_clip(ACS_VLINE); // right vertical line
+ }
+ }
++ attroff(attr);
+ }
+
+ JNIEXPORT void JNICALL Java_charva_awt_Toolkit_blankBoxNative