1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/sane/files/patch-ab
Steve Price 678717b8da Update to version 1.0.2.
PR:		18141
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-29 23:44:21 +00:00

15 lines
415 B
Plaintext

--- backend/artec.c.orig Sun Mar 5 22:40:43 2000
+++ backend/artec.c Wed Apr 19 06:00:00 2000
@@ -3238,7 +3238,11 @@
if (DBG_LEVEL == 101)
{
debug_fd = open ("artec.data.raw",
+#ifdef __FreeBSD__
+ O_WRONLY | O_CREAT | O_TRUNC, 0666);
+#else
O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 0666);
+#endif
if (debug_fd > -1)
DBG (101, "opened artec.data.raw output file\n");
}