12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #!/bin/sh /usr/share/dpatch/dpatch-run
- ## 308-magic-add-erlang.dpatch
- ##
- ## DP: New magic for Erlang BEAM and JAM files (Closes: #388356).
- @DPATCH@
- diff -Naurp file-4.23.orig/magic/Magdir/erlang file-4.23/magic/Magdir/erlang
- --- file-4.23.orig/magic/Magdir/erlang 1970-01-01 00:00:00.000000000 +0000
- +++ file-4.23/magic/Magdir/erlang 2008-01-12 16:55:58.000000000 +0000
- @@ -0,0 +1,16 @@
- +# Type: Erlang JAM and BEAM files
- +# URL: http://www.erlang.org/faq/x779.html#AEN812
- +
- +# OTP R3-R4
- +0 string \0177BEAM! Old Erlang BEAM file
- +>6 short >0 - version %d
- +
- +# OTP R5 and onwards
- +0 string FOR1
- +>8 string BEAM Erlang BEAM file
- +
- +# 4.2 version may have a copyright notice!
- +4 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2
- +79 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2
- +
- +4 string 1.0 Fri Feb 3 09:55:56 MET 1995 Erlang JAM file - version 4.3
- diff -Naurp file-4.23.orig/magic/Makefile.am file-4.23/magic/Makefile.am
- --- file-4.23.orig/magic/Makefile.am 2008-01-12 16:55:37.000000000 +0000
- +++ file-4.23/magic/Makefile.am 2008-01-12 16:55:58.000000000 +0000
- @@ -82,6 +82,7 @@ Magdir/efi \
- Magdir/elf \
- Magdir/encore \
- Magdir/epoc \
- +Magdir/erlang \
- Magdir/esri \
- Magdir/fcs \
- Magdir/filesystems \
- diff -Naurp file-4.23.orig/magic/Makefile.in file-4.23/magic/Makefile.in
- --- file-4.23.orig/magic/Makefile.in 2008-01-12 16:55:37.000000000 +0000
- +++ file-4.23/magic/Makefile.in 2008-01-12 16:55:58.000000000 +0000
- @@ -221,6 +221,7 @@ Magdir/efi \
- Magdir/elf \
- Magdir/encore \
- Magdir/epoc \
- +Magdir/erlang \
- Magdir/esri \
- Magdir/fcs \
- Magdir/filesystems \
|