1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/graphics/truevision/files/patch-src__povfe.cc
Pav Lucistnik eac37356e3 - Update to 0.5.5
PR:		ports/87740
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2005-10-21 08:33:23 +00:00

14 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" };