12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/sh /usr/share/dpatch/dpatch-run
- ## 105-magic-remove-emf.dpatch by Michael Piefel <piefel@debian.org>
- ##
- ## DP: Disabled EMF detection as it not only caused false positives, which might
- ## DP: have been acceptible, but a segmentation fault (closes: #333502).
- @DPATCH@
- diff -Naur file-4.20.orig/magic/Magdir/msdos file-4.20/magic/Magdir/msdos
- --- file-4.20.orig/magic/Magdir/msdos 2007-01-19 19:35:20.000000000 +0000
- +++ file-4.20/magic/Magdir/msdos 2007-04-03 12:39:57.000000000 +0000
- @@ -579,17 +579,17 @@
- # syntax available by some file commands you could write:
- # 0 lelong 1
- # &40 ulelong 0x464D4520 Windows Enhanced Metafile (EMF) image data
- -40 ulelong 0x464D4520 Windows Enhanced Metafile (EMF) image data
- ->44 ulelong x version 0x%x.
- +#40 ulelong 0x464D4520 Windows Enhanced Metafile (EMF) image data
- +#>44 ulelong x version 0x%x.
- # If the description has a length greater than zero, it exists and is
- # found at offset (*64).
- ->64 ulelong >0 Description available at offset 0x%x
- ->>60 ulelong >0 (length 0x%x)
- +#>64 ulelong >0 Description available at offset 0x%x
- +#>>60 ulelong >0 (length 0x%x)
- # Note it would be better to print out the description, which is found
- # as below. Unfortunately the following only prints out the first couple
- # of characters instead of all the "description length"
- # number of characters -- indicated by the ulelong at offset 60.
- ->>(64.l) lestring16 >0 Description: %15.15s
- +#>>(64.l) lestring16 >0 Description: %15.15s
-
- # From: Alex Beregszaszi <alex@fsn.hu>
- 0 string COWD VMWare3
|