summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/files/patch-src__command.C
diff options
context:
space:
mode:
Diffstat (limited to 'x11/rxvt-unicode/files/patch-src__command.C')
-rw-r--r--x11/rxvt-unicode/files/patch-src__command.C20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/rxvt-unicode/files/patch-src__command.C b/x11/rxvt-unicode/files/patch-src__command.C
new file mode 100644
index 000000000000..748f2aaec7e9
--- /dev/null
+++ b/x11/rxvt-unicode/files/patch-src__command.C
@@ -0,0 +1,20 @@
+--- src/command.C.orig 2012-01-19 14:34:39.000000000 +0100
++++ src/command.C 2012-01-23 19:28:46.000000000 +0100
+@@ -57,6 +57,7 @@
+ #endif
+
+ #include <signal.h>
++#include <sys/param.h>
+
+ #if LINUX_YIELD_HACK
+ # include <time.h>
+@@ -2354,7 +2355,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;
+ }
+