summaryrefslogtreecommitdiffstats
path: root/office/teapot/fix_mbslen_warning.diff
diff options
context:
space:
mode:
Diffstat (limited to 'office/teapot/fix_mbslen_warning.diff')
-rw-r--r--office/teapot/fix_mbslen_warning.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/office/teapot/fix_mbslen_warning.diff b/office/teapot/fix_mbslen_warning.diff
new file mode 100644
index 0000000000..47b3539b8c
--- /dev/null
+++ b/office/teapot/fix_mbslen_warning.diff
@@ -0,0 +1,11 @@
+diff -Naur teapot-2.3.0/scanner.c teapot-2.3.0.patched/scanner.c
+--- teapot-2.3.0/scanner.c 2012-02-06 06:30:53.000000000 -0500
++++ teapot-2.3.0.patched/scanner.c 2020-11-19 00:24:24.289622714 -0500
+@@ -25,6 +25,7 @@
+ #include "main.h"
+ #include "misc.h"
+ #include "scanner.h"
++#include "utf8.h"
+ /*}}}*/
+
+ /* identcode -- return number of identifier */ /*{{{*/