summaryrefslogtreecommitdiff
path: root/net/gale/files/patch-wcwidth
diff options
context:
space:
mode:
Diffstat (limited to 'net/gale/files/patch-wcwidth')
-rw-r--r--net/gale/files/patch-wcwidth14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/gale/files/patch-wcwidth b/net/gale/files/patch-wcwidth
new file mode 100644
index 000000000000..df5b644e4610
--- /dev/null
+++ b/net/gale/files/patch-wcwidth
@@ -0,0 +1,14 @@
+--- libgale/wcwidth.c.orig Mon Jul 2 17:35:54 2001
++++ libgale/wcwidth.c Mon Jul 2 17:37:48 2001
+@@ -6,7 +6,11 @@
+ * Markus Kuhn -- 2000-02-08 -- public domain
+ */
+
++#ifdef __FreeBSD__
++#include <rune.h>
++#else /* __FreeBSD__ */
+ #include <wchar.h>
++#endif /* __FreeBSD__ */
+
+ /* These functions define the column width of an ISO 10646 character
+ * as follows: