opnsense-ports/security/aide/files/patch-include__aide.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
470 B
C

Index: include/aide.h
diff -u include/aide.h.orig include/aide.h
--- include/aide.h.orig 2010-08-09 02:39:31.000000000 +0900
+++ include/aide.h 2012-10-30 02:24:36.845508733 +0900
@@ -68,7 +68,7 @@
# define HAVE_STRTOIMAX
#endif
-#if SIZEOF_OFF64_T == SIZEOF_LONG_LONG
+#if AIDE_OFF_TYPE == off64_t && SIZEOF_OFF64_T == SIZEOF_LONG_LONG || AIDE_OFF_TYPE == off_t && SIZEOF_OFF_T == SIZEOF_LONG_LONG
# ifdef HAVE_STRTOLL
# define AIDE_STRTOLL_FUNC strtoll
# else