$OpenBSD: patch-source_blender_blenkernel_intern_packedFile_c,v 1.5 2012/05/07 15:45:42 pascal Exp $
--- source/blender/blenkernel/intern/packedFile.c.orig	Thu Apr 26 22:49:26 2012
+++ source/blender/blenkernel/intern/packedFile.c	Mon Apr 30 23:05:50 2012
@@ -297,7 +297,7 @@ int writePackedFile(ReportList *reports, const char *f
 	// make sure the path to the file exists...
 	BLI_make_existing_file(name);
 	
-	file = BLI_open(name, O_BINARY + O_WRONLY + O_CREAT + O_TRUNC, 0666);
+	file = BLI_open(name, O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0666);
 	if (file >= 0) {
 		if (write(file, pf->data, pf->size) != pf->size) {
 			BKE_reportf(reports, RPT_ERROR, "Error writing file: %s", name);
