$OpenBSD: patch-source_blender_blenloader_intern_writefile_c,v 1.17 2021/03/27 15:15:06 sthen Exp $

Index: source/blender/blenloader/intern/writefile.c
--- source/blender/blenloader/intern/writefile.c.orig
+++ source/blender/blenloader/intern/writefile.c
@@ -173,7 +173,7 @@ static bool ww_open_none(WriteWrap *ww, const char *fi
 {
   int file;
 
-  file = BLI_open(filepath, O_BINARY + O_WRONLY + O_CREAT + O_TRUNC, 0666);
+  file = BLI_open(filepath, O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0666);
 
   if (file != -1) {
     FILE_HANDLE(ww) = file;
