diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-12-14 07:38:25 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-12-14 07:38:25 +0000 |
commit | 60cd144ebf80985c26b3335ecc62100cb5e2927d (patch) | |
tree | 3d6f28193e33d340c52b5d27ebce56ab89d1ec68 /devel/charva | |
parent | cf14ca92694d372b242ba5b55f9589984c50ef07 (diff) | |
download | ports-60cd144ebf80985c26b3335ecc62100cb5e2927d.tar.gz ports-60cd144ebf80985c26b3335ecc62100cb5e2927d.zip |
Notes
Diffstat (limited to 'devel/charva')
-rw-r--r-- | devel/charva/Makefile | 1 | ||||
-rw-r--r-- | devel/charva/files/patch-c_src_Toolkit.c | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/devel/charva/Makefile b/devel/charva/Makefile index 00545883ccb1..da3e2a75b60d 100644 --- a/devel/charva/Makefile +++ b/devel/charva/Makefile @@ -7,6 +7,7 @@ PORTNAME= charva PORTVERSION= 1.1.4 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/devel/charva/files/patch-c_src_Toolkit.c b/devel/charva/files/patch-c_src_Toolkit.c new file mode 100644 index 000000000000..ab2c57c977ed --- /dev/null +++ b/devel/charva/files/patch-c_src_Toolkit.c @@ -0,0 +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
|