summaryrefslogtreecommitdiff
path: root/graphics/blender/patches/patch-extern_wcwidth_wcwidth.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/patches/patch-extern_wcwidth_wcwidth.h')
-rw-r--r--graphics/blender/patches/patch-extern_wcwidth_wcwidth.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/blender/patches/patch-extern_wcwidth_wcwidth.h b/graphics/blender/patches/patch-extern_wcwidth_wcwidth.h
new file mode 100644
index 00000000000..cceb5aee2eb
--- /dev/null
+++ b/graphics/blender/patches/patch-extern_wcwidth_wcwidth.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-extern_wcwidth_wcwidth.h,v 1.1 2020/02/21 16:36:54 nia Exp $
+
+NetBSD also does not have uchar.h.
+
+--- extern/wcwidth/wcwidth.h.orig 2020-02-12 10:15:01.000000000 +0000
++++ extern/wcwidth/wcwidth.h
+@@ -21,7 +21,7 @@
+ #define __WCWIDTH_H__
+
+ #ifndef __cplusplus
+-# if defined(__APPLE__)
++# if defined(__APPLE__) || defined(__NetBSD__)
+ /* The <uchar.h> standard header is missing on macOS. */
+ #include <stddef.h>
+ typedef unsigned int char32_t;