Skip to content

Commit

Permalink
Added patch for file(1).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 17, 2009
1 parent 2c73361 commit 3c74d41
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patches/file-magic.diff
@@ -0,0 +1,26 @@
diff -rNu file-4.26-orig/magic/Magdir/fatelf file-4.26/magic/Magdir/fatelf
--- file-4.26-orig/magic/Magdir/fatelf 1969-12-31 19:00:00.000000000 -0500
+++ file-4.26/magic/Magdir/fatelf 2009-09-17 14:14:47.000000000 -0400
@@ -0,0 +1,11 @@
+
+#------------------------------------------------------------------------------
+# fatelf: file(1) magic for FatELF executables
+#
+# Created by: Ryan C. Gordon <icculus@icculus.org>
+0 string \372\160\16\37 FatELF
+>4 leshort 0 unknown version
+>4 leshort >1 unknown version
+>4 leshort 1 version 1,
+>>6 byte >0 %d records
+
diff -rNu file-4.26-orig/magic/Makefile.am file-4.26/magic/Makefile.am
--- file-4.26-orig/magic/Makefile.am 2008-08-08 04:24:06.000000000 -0400
+++ file-4.26/magic/Makefile.am 2009-09-17 14:15:02.000000000 -0400
@@ -63,6 +63,7 @@
$(MAGIC_FRAGMENT_DIR)/epoc \
$(MAGIC_FRAGMENT_DIR)/erlang \
$(MAGIC_FRAGMENT_DIR)/esri \
+$(MAGIC_FRAGMENT_DIR)/fatelf \
$(MAGIC_FRAGMENT_DIR)/fcs \
$(MAGIC_FRAGMENT_DIR)/filesystems \
$(MAGIC_FRAGMENT_DIR)/flash \

0 comments on commit 3c74d41

Please sign in to comment.