freebsd-ports/sysutils/metalog/files/patch-src__metalog.c
Jason E. Hale c1b64d1b79 - Update to 3
- Support staging
- Use new LIB_DEPENDS syntax
- Make installation of sample config non-optional and install it
  in ${PREFIX}/etc instead of ${EXAMPLESDIR}
- Convert from PLIST_FILES to pkg-plist

PR:		ports/183414
Requested by:	Zsolt Udvari <udvzsolt@gmail.com>
2013-10-30 13:12:08 +00:00

12 lines
314 B
C

--- ./src/metalog.c.orig 2013-10-29 09:50:12.000000000 -0400
+++ ./src/metalog.c 2013-10-29 09:52:28.000000000 -0400
@@ -6,6 +6,9 @@
#ifdef WITH_DMALLOC
# include <dmalloc.h>
#endif
+#if defined(__FreeBSD__)
+#define fflush_unlocked fflush
+#endif
static int spawn_recursion = 0;
static int dolog_queue[2];