|
@@ -6,9 +6,9 @@
|
|
|
|
|
|
@DPATCH@
|
|
|
|
|
|
-diff -Naurp file-4.24.orig/magic/Header file-4.24/magic/Header
|
|
|
---- file-4.24.orig/magic/Header 2000-08-05 17:36:46.000000000 +0000
|
|
|
-+++ file-4.24/magic/Header 2008-04-07 08:17:11.000000000 +0000
|
|
|
+diff -Naurp file.orig/magic/Header file/magic/Header
|
|
|
+--- file.orig/magic/Header 2000-08-05 17:36:46.000000000 +0000
|
|
|
++++ file/magic/Header 2008-07-15 13:51:04.000000000 +0000
|
|
|
@@ -1,5 +1,5 @@
|
|
|
-# Magic
|
|
|
# Magic data for file(1) command.
|
|
@@ -19,34 +19,34 @@ diff -Naurp file-4.24.orig/magic/Header file-4.24/magic/Header
|
|
|
+# Don't edit this file, edit /etc/magic or send your suggested inclusions to
|
|
|
+# this file as a wishlist bug against file (using the reportbug utility).
|
|
|
+
|
|
|
-diff -Naurp file-4.24.orig/magic/magic.local file-4.24/magic/magic.local
|
|
|
---- file-4.24.orig/magic/magic.local 1970-01-01 00:00:00.000000000 +0000
|
|
|
-+++ file-4.24/magic/magic.local 2008-04-07 08:17:11.000000000 +0000
|
|
|
+diff -Naurp file.orig/magic/magic.local file/magic/magic.local
|
|
|
+--- file.orig/magic/magic.local 1970-01-01 00:00:00.000000000 +0000
|
|
|
++++ file/magic/magic.local 2008-07-15 13:51:04.000000000 +0000
|
|
|
@@ -0,0 +1,3 @@
|
|
|
+# Magic local data for file(1) command.
|
|
|
+# Insert here your local magic data. Format is described in magic(5).
|
|
|
+
|
|
|
-diff -Naurp file-4.24.orig/src/Makefile.am file-4.24/src/Makefile.am
|
|
|
---- file-4.24.orig/src/Makefile.am 2008-02-24 01:33:05.000000000 +0000
|
|
|
-+++ file-4.24/src/Makefile.am 2008-04-07 08:16:39.000000000 +0000
|
|
|
-@@ -5,7 +5,7 @@ EXTRA_DIST = getopt_long.c
|
|
|
+diff -Naurp file.orig/src/Makefile.am file/src/Makefile.am
|
|
|
+--- file.orig/src/Makefile.am 2008-05-09 14:12:55.000000000 +0000
|
|
|
++++ file/src/Makefile.am 2008-07-15 13:51:37.000000000 +0000
|
|
|
+@@ -4,7 +4,7 @@ include_HEADERS = magic.h
|
|
|
|
|
|
bin_PROGRAMS = file
|
|
|
|
|
|
-AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
|
|
|
+AM_CPPFLAGS = -DMAGIC='"/etc/magic:$(MAGIC)"'
|
|
|
-
|
|
|
- libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
|
|
|
- compress.c is_tar.c readelf.c print.c fsmagic.c \
|
|
|
-diff -Naurp file-4.24.orig/src/Makefile.in file-4.24/src/Makefile.in
|
|
|
---- file-4.24.orig/src/Makefile.in 2008-03-22 21:40:13.000000000 +0000
|
|
|
-+++ file-4.24/src/Makefile.in 2008-04-07 08:16:47.000000000 +0000
|
|
|
-@@ -198,7 +198,7 @@ MAGIC = $(pkgdatadir)/magic
|
|
|
+ AM_CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
|
|
+ -Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
|
|
+ -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|
|
|
+diff -Naurp file.orig/src/Makefile.in file/src/Makefile.in
|
|
|
+--- file.orig/src/Makefile.in 2008-07-02 15:24:28.000000000 +0000
|
|
|
++++ file/src/Makefile.in 2008-07-15 13:52:00.000000000 +0000
|
|
|
+@@ -197,7 +197,7 @@ top_srcdir = @top_srcdir@
|
|
|
+ MAGIC = $(pkgdatadir)/magic
|
|
|
lib_LTLIBRARIES = libmagic.la
|
|
|
include_HEADERS = magic.h
|
|
|
- EXTRA_DIST = getopt_long.c
|
|
|
-AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
|
|
|
+AM_CPPFLAGS = -DMAGIC='"/etc/magic:$(MAGIC)"'
|
|
|
- libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
|
|
|
- compress.c is_tar.c readelf.c print.c fsmagic.c \
|
|
|
- funcs.c file.h names.h patchlevel.h readelf.h tar.h apptype.c \
|
|
|
+ AM_CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
|
|
+ -Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
|
|
+ -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|