1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/fam/files/patch-fam__Log.c++
Matthias Andree 8151e37e93 - Fix build with libc++, dropping hardcoded -lstdc++ from the right Makefile.
- Fix build with clang, casting a large constant to int in mntent_compat.c++.
- Fix a noisy clang warning in BTree.h by parenthesizing the 2nd for() expr.
- Fix a format string mismatch (%d/size_t -> %lu/unsigned long) in snprintf.
- Regenerate patches, and normalize their filenames, with make makepatch.
- Bump PORTREVISION.
2014-01-03 01:45:45 +00:00

14 lines
354 B
C++

--- ./fam/Log.c++.orig 2003-04-15 06:21:36.000000000 +0200
+++ ./fam/Log.c++ 2014-01-03 02:35:10.000000000 +0100
@@ -28,9 +28,9 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <sys/time.h>
#include <sys/resource.h>
#include <sys/stat.h>
-#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_AUDIT