summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-04-19 03:20:13 +0000
committerobrien <obrien@FreeBSD.org>2012-04-19 03:20:13 +0000
commit248502d7f08de3125e3e3cc808446294565ba5df (patch)
treec7640efe490a887a5460d7a88d62aca990489d21 /lib/libmagic
parent86e3fa59a2a400ec95b0c84576fb00815631d92f (diff)
parent15f98df7891f1853090ecb6c4a9cc734e671ef6b (diff)
downloadFreeBSD-src-248502d7f08de3125e3e3cc808446294565ba5df.zip
FreeBSD-src-248502d7f08de3125e3e3cc808446294565ba5df.tar.gz
Update file(1) to version 5.11.
Diffstat (limited to 'lib/libmagic')
-rw-r--r--lib/libmagic/Makefile2
-rw-r--r--lib/libmagic/config.h78
2 files changed, 67 insertions, 13 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index 4d5ab9d..5957306 100644
--- a/lib/libmagic/Makefile
+++ b/lib/libmagic/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-# Copyright (c) David E. O'Brien, 2000-2004
+# Copyright (c) David E. O'Brien, 2000-2004, 2006, 2009
CONTRDIR= ${.CURDIR}/../../contrib/file
.PATH: ${CONTRDIR}
diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h
index 8574ddc..c7e38ec 100644
--- a/lib/libmagic/config.h
+++ b/lib/libmagic/config.h
@@ -15,6 +15,14 @@
/* HAVE_DAYLIGHT */
/* #undef HAVE_DAYLIGHT */
+/* Define to 1 if you have the declaration of `daylight', and to 0 if you
+ don't. */
+#define HAVE_DECL_DAYLIGHT 0
+
+/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
+ */
+#define HAVE_DECL_TZNAME 1
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
@@ -24,9 +32,15 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
+/* Define to 1 if you have the `fork' function. */
+#define HAVE_FORK 1
+
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#define HAVE_FSEEKO 1
+/* Define to 1 if you have the `getline' function. */
+#define HAVE_GETLINE 1
+
/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1
@@ -42,6 +56,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
+/* Define to 1 if you have the `gnurx' library (-lgnurx). */
+/* #undef HAVE_LIBGNURX */
+
/* Define to 1 if you have the `z' library (-lz). */
#define HAVE_LIBZ 1
@@ -66,6 +83,9 @@
/* Define to 1 if you have the `mmap' function. */
#define HAVE_MMAP 1
+/* Define to 1 if the system has the type `pid_t'. */
+#define HAVE_PID_T 1
+
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
@@ -99,13 +119,13 @@
/* HAVE_STRUCT_OPTION */
#define HAVE_STRUCT_OPTION 1
-/* Define to 1 if `st_rdev' is member of `struct stat'. */
+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
#define HAVE_STRUCT_STAT_ST_RDEV 1
-/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
+/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
#define HAVE_STRUCT_TM_TM_GMTOFF 1
-/* Define to 1 if `tm_zone' is member of `struct tm'. */
+/* Define to 1 if `tm_zone' is a member of `struct tm'. */
#define HAVE_STRUCT_TM_TM_ZONE 1
/* Define to 1 if you have the <sys/mman.h> header file. */
@@ -174,6 +194,10 @@
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#define LT_OBJDIR ".libs/"
+
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
*/
/* #undef MAJOR_IN_MKDEV */
@@ -195,13 +219,16 @@
#define PACKAGE_NAME "file"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "file 5.03"
+#define PACKAGE_STRING "file 5.11"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "file"
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
/* Define to the version of this package. */
-#define PACKAGE_VERSION "5.03"
+#define PACKAGE_VERSION "5.11"
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
@@ -212,25 +239,50 @@
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
-/* Version number of package */
-#define VERSION "5.03"
-
-/* Number of bits in a file offset, on hosts where this is settable. */
-/* #undef _FILE_OFFSET_BITS */
-
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
/* Enable GNU extensions on systems that have them. */
-#ifndef __FreeBSD__
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
#endif
+
+/* Version number of package */
+#define VERSION "5.11"
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
/* #undef _LARGEFILE_SOURCE */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
+
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
@@ -244,6 +296,7 @@
/* #undef size_t */
+#ifdef _FREEBSD_UNUSED_
#ifndef HAVE_UINT8_T
typedef unsigned char uint8_t;
#endif
@@ -270,4 +323,5 @@ typedef long long int64_t;
typedef long int64_t;
#endif
#endif
+#endif /* _FREEBSD_UNUSED_ */
OpenPOWER on IntegriCloud