|
@@ -8,7 +8,7 @@ Comment: This introduces a lot of regressions, see
|
|
|
|
|
|
--- a/configure.ac
|
|
|
+++ b/configure.ac
|
|
|
-@@ -136,10 +136,10 @@
|
|
|
+@@ -138,10 +138,10 @@
|
|
|
fi])
|
|
|
|
|
|
dnl Checks for functions
|
|
@@ -23,7 +23,7 @@ Comment: This introduces a lot of regressions, see
|
|
|
AC_CHECK_LIB(z,gzopen)
|
|
|
--- a/src/file.h
|
|
|
+++ b/src/file.h
|
|
|
-@@ -514,10 +514,6 @@
|
|
|
+@@ -527,10 +527,6 @@
|
|
|
#ifndef HAVE_ASCTIME_R
|
|
|
char *asctime_r(const struct tm *, char *);
|
|
|
#endif
|
|
@@ -34,18 +34,3 @@ Comment: This introduces a lot of regressions, see
|
|
|
|
|
|
#if defined(HAVE_MMAP) && defined(HAVE_SYS_MMAN_H) && !defined(QUICK)
|
|
|
#define QUICK
|
|
|
---- a/src/softmagic.c
|
|
|
-+++ b/src/softmagic.c
|
|
|
-@@ -36,7 +36,12 @@
|
|
|
- #endif /* lint */
|
|
|
-
|
|
|
- #include "magic.h"
|
|
|
-+#ifdef HAVE_FMTCHECK
|
|
|
-+#include <stdio.h>
|
|
|
- #define F(a, b) fmtcheck((a), (b))
|
|
|
-+#else
|
|
|
-+#define F(a, b) (a)
|
|
|
-+#endif
|
|
|
- #include <assert.h>
|
|
|
- #include <string.h>
|
|
|
- #include <ctype.h>
|