summaryrefslogtreecommitdiff
path: root/graphics/blender/patches/patch-extern_wcwidth_wcwidth.h
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-02-21 16:36:53 +0000
committernia <nia@pkgsrc.org>2020-02-21 16:36:53 +0000
commit347ee7423e17f20bde2337fa695a43e7b3b6adc5 (patch)
treefd77532fcdac432084c488eff56a5c9c7d09915d /graphics/blender/patches/patch-extern_wcwidth_wcwidth.h
parent78bd875d39c0307cbee3263dcddc4f92cebf3d50 (diff)
downloadpkgsrc-347ee7423e17f20bde2337fa695a43e7b3b6adc5.tar.gz
blender: Update to 2.82
Release notes: https://www.blender.org/download/releases/2-82/ TBB being optional is broken with this release
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;