summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/vilistextum/files/vilistextum-2.8.0-towlower.patch')
-rw-r--r--app-text/vilistextum/files/vilistextum-2.8.0-towlower.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/vilistextum/files/vilistextum-2.8.0-towlower.patch b/app-text/vilistextum/files/vilistextum-2.8.0-towlower.patch
new file mode 100644
index 000000000000..a9c8a96a7522
--- /dev/null
+++ b/app-text/vilistextum/files/vilistextum-2.8.0-towlower.patch
@@ -0,0 +1,12 @@
+towlower is defined by wctype.h
+
+--- a/src/multibyte.h
++++ b/src/multibyte.h
+@@ -2,6 +2,7 @@
+
+ #ifdef MULTIBYTE
+ #include <wchar.h>
++#include <wctype.h>
+ #define CHAR wchar_t
+ #define STRLEN(s) wcslen(s)
+ #define CPYSS(dest, src) wcscpy(dest, src) /* copy str to str */