|
@@ -5,10 +5,8 @@ Description:
|
|
|
No longer includes Localstuff in /usr/share/misc/magic, local definitions
|
|
|
should go to /etc/magic.
|
|
|
|
|
|
-Index: file-5.14/magic/Header
|
|
|
-===================================================================
|
|
|
---- file-5.14.orig/magic/Header 2010-12-15 03:06:49.000000000 +0000
|
|
|
-+++ file-5.14/magic/Header 2013-05-06 17:41:20.000000000 +0000
|
|
|
+--- a/magic/Header
|
|
|
++++ b/magic/Header
|
|
|
@@ -1,5 +1,6 @@
|
|
|
# Magic data for file(1) command.
|
|
|
-# Format is described in magic(files), where:
|
|
@@ -19,19 +17,15 @@ Index: file-5.14/magic/Header
|
|
|
+# to the upstream maintainers, at file@mx.gw.com
|
|
|
+# or send your suggested inclusions
|
|
|
+# as a wishlist bug against file (using the reportbug utility).
|
|
|
-Index: file-5.14/magic/magic.local
|
|
|
-===================================================================
|
|
|
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
|
-+++ file-5.14/magic/magic.local 2013-05-06 17:41:20.000000000 +0000
|
|
|
+--- /dev/null
|
|
|
++++ b/magic/magic.local
|
|
|
@@ -0,0 +1,3 @@
|
|
|
+# Magic local data for file(1) command.
|
|
|
+# Insert here your local magic data. Format is described in magic(5).
|
|
|
+
|
|
|
-Index: file-5.14/src/apprentice.c
|
|
|
-===================================================================
|
|
|
---- file-5.14.orig/src/apprentice.c 2013-03-21 17:45:14.000000000 +0000
|
|
|
-+++ file-5.14/src/apprentice.c 2013-05-06 17:41:20.000000000 +0000
|
|
|
-@@ -419,7 +419,7 @@
|
|
|
+--- a/src/apprentice.c
|
|
|
++++ b/src/apprentice.c
|
|
|
+@@ -448,7 +448,7 @@
|
|
|
#ifndef COMPILE_ONLY
|
|
|
map = apprentice_map(ms, fn);
|
|
|
if (map == NULL) {
|
|
@@ -40,10 +34,8 @@ Index: file-5.14/src/apprentice.c
|
|
|
file_magwarn(ms, "using regular magic file `%s'", fn);
|
|
|
map = apprentice_load(ms, fn, action);
|
|
|
if (map == NULL)
|
|
|
-Index: file-5.14/src/Makefile.am
|
|
|
-===================================================================
|
|
|
---- file-5.14.orig/src/Makefile.am 2013-03-21 17:45:14.000000000 +0000
|
|
|
-+++ file-5.14/src/Makefile.am 2013-05-06 17:41:20.000000000 +0000
|
|
|
+--- a/src/Makefile.am
|
|
|
++++ b/src/Makefile.am
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
bin_PROGRAMS = file
|
|
@@ -53,11 +45,9 @@ Index: file-5.14/src/Makefile.am
|
|
|
AM_CFLAGS = $(CFLAG_VISIBILITY) @WARNINGS@
|
|
|
|
|
|
libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
|
|
|
-Index: file-5.14/src/Makefile.in
|
|
|
-===================================================================
|
|
|
---- file-5.14.orig/src/Makefile.in 2013-03-21 17:51:39.000000000 +0000
|
|
|
-+++ file-5.14/src/Makefile.in 2013-05-06 17:41:20.000000000 +0000
|
|
|
-@@ -282,7 +282,7 @@
|
|
|
+--- a/src/Makefile.in
|
|
|
++++ b/src/Makefile.in
|
|
|
+@@ -329,7 +329,7 @@
|
|
|
MAGIC = $(pkgdatadir)/magic
|
|
|
lib_LTLIBRARIES = libmagic.la
|
|
|
include_HEADERS = magic.h
|