aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-10-13 21:27:43 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-10-13 21:27:43 +0000
commite3409ffd15c5d8b95bf2a9ede48bddc53c32a92b (patch)
tree48f6869e54c05ae49b45a8a7fd3714743e136504 /x11/rxvt-unicode/files
parent3611b3db77db64c9f7cb1ca0378460cee119d345 (diff)
downloadports-e3409ffd15c5d8b95bf2a9ede48bddc53c32a92b.tar.gz
ports-e3409ffd15c5d8b95bf2a9ede48bddc53c32a92b.zip
Notes
Diffstat (limited to 'x11/rxvt-unicode/files')
-rw-r--r--x11/rxvt-unicode/files/patch-src::command.C21
-rw-r--r--x11/rxvt-unicode/files/patch-src::rxvtfont.C11
2 files changed, 27 insertions, 5 deletions
diff --git a/x11/rxvt-unicode/files/patch-src::command.C b/x11/rxvt-unicode/files/patch-src::command.C
index 2e8a0e73712c..d2d106c954a9 100644
--- a/x11/rxvt-unicode/files/patch-src::command.C
+++ b/x11/rxvt-unicode/files/patch-src::command.C
@@ -1,15 +1,26 @@
---- src/command.C.orig Wed Aug 25 05:45:20 2004
-+++ src/command.C Wed Aug 25 19:28:03 2004
-@@ -51,6 +51,8 @@
+--- src/command.C.orig Sun Sep 5 11:25:22 2004
++++ src/command.C Wed Oct 13 22:55:27 2004
+@@ -51,6 +51,9 @@
#include "command.h"
#include <wchar.h>
++#include <sys/param.h>
+#include <sys/types.h>
+#include <signal.h>
/*----------------------------------------------------------------------*/
-@@ -4287,7 +4289,7 @@
+@@ -2697,7 +2700,9 @@
+ if (len == (size_t)-2)
+ {
+ // the mbstate stores incomplete sequences. didn't know this :/
++#if __FreeBSD_version>502110
+ cmdbuf_ptr = cmdbuf_endp;
++#endif
+ break;
+ }
+
+@@ -4295,7 +4300,7 @@
{
if (v_buflen == 0)
{
@@ -18,7 +29,7 @@
if ((unsigned int)written == len)
return;
-@@ -4305,7 +4307,7 @@
+@@ -4313,7 +4318,7 @@
for (;;)
{
diff --git a/x11/rxvt-unicode/files/patch-src::rxvtfont.C b/x11/rxvt-unicode/files/patch-src::rxvtfont.C
new file mode 100644
index 000000000000..7bc04127d97a
--- /dev/null
+++ b/x11/rxvt-unicode/files/patch-src::rxvtfont.C
@@ -0,0 +1,11 @@
+--- src/rxvtfont.C.orig Wed Sep 8 13:44:38 2004
++++ src/rxvtfont.C Sun Oct 3 03:07:41 2004
+@@ -345,7 +345,7 @@
+ uint32_t *a = linedraw_command + (offs >> 4);
+ uint32_t *b = a + (offs & 15);
+
+- int W = r->TermWin.fwidth;
++ int W = r->TermWin.fwidth * wcwidth(t);
+ int H = r->TermWin.fheight;
+
+ int x_[16];