$OpenBSD: patch-source_blender_blenloader_intern_writefile_c,v 1.14 2016/03/30 13:30:04 pascal Exp $
--- source/blender/blenloader/intern/writefile.c.orig	Tue Mar 22 08:54:36 2016
+++ source/blender/blenloader/intern/writefile.c	Wed Mar 30 11:42:27 2016
@@ -213,7 +213,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;
