(pkgsrc) - Add comment on patches picked from cvs log - Add ${LDFLAGS} on patch-ab for Makefile.in
21 lines
358 B
Text
21 lines
358 B
Text
$NetBSD: patch-aa,v 1.7 2014/12/12 06:45:34 mef Exp $
|
|
|
|
Add Darwin and DragonFly support
|
|
|
|
--- fileio.c.orig 2004-12-13 02:47:59.000000000 +0000
|
|
+++ fileio.c
|
|
@@ -19,6 +19,14 @@
|
|
*/
|
|
|
|
#include "dbench.h"
|
|
+#ifdef __APPLE__
|
|
+#include <sys/aio.h>
|
|
+#define fdatasync fsync
|
|
+#endif
|
|
+
|
|
+#ifdef __DragonFly__
|
|
+#define O_SYNC O_FSYNC
|
|
+#endif
|
|
|
|
#define MAX_FILES 200
|
|
|