306-magic-add-dds.dpatch 857 B

123456789101112131415161718192021
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 307-magic-add-dds.dpatch from Morten Hustveit <morten@debian.org>
  3. ##
  4. ## DP: New magic for DirectDraw Surface files (Closes: #276133).
  5. @DPATCH@
  6. diff -Naurp file-4.23.orig/magic/Magdir/msdos file-4.23/magic/Magdir/msdos
  7. --- file-4.23.orig/magic/Magdir/msdos 2007-12-28 15:14:13.000000000 +0000
  8. +++ file-4.23/magic/Magdir/msdos 2008-01-12 16:53:00.000000000 +0000
  9. @@ -663,3 +663,10 @@
  10. >23 string Dell %s system BIOS
  11. >48 string x version %.3s
  12. +# Type: Microsoft DirectDraw Surface
  13. +# URL: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/DDSFileReference/ddsfileformat.asp
  14. +# From: Morten Hustveit <morten@debian.org>
  15. +0 string DDS\040\174\000\000\000 Microsoft DirectDraw Surface (DDS),
  16. +>16 lelong >0 %hd x
  17. +>12 lelong >0 %hd,
  18. +>84 string x %.4s