opnsense-ports/graphics/truevision/files/patch-src__povfe.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
373 B
C++

--- src/povfe.cc.orig Tue Oct 4 04:24:37 2005
+++ src/povfe.cc Tue Oct 18 19:11:46 2005
@@ -36,6 +36,10 @@
#include "include/scene.h"
#include "include/tvio.h"
+#if defined(__FreeBSD__)
+ #define O_SYNC O_FSYNC
+#endif
+
// Output file format definitions
const int file_type_num = 4;
const char *file_type_list[file_type_num] = { "PNG", "PPM", "TGA", "TGA+RLE" };