304-magic-add-llvm.dpatch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 33-magic-add-llvm.dpatch by Al Stone <ahs3@debian.org>
  3. ##
  4. ## DP: New magic for the LLVM byte-codes (Closes: #293427).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/llvm file-4.20/magic/Magdir/llvm
  7. --- file-4.20.orig/magic/Magdir/llvm 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.20/magic/Magdir/llvm 2007-03-27 17:52:42.000000000 +0000
  9. @@ -0,0 +1,12 @@
  10. +
  11. +#------------------------------------------------------------------------------
  12. +# llvm: file(1) magic for LLVM byte-codes
  13. +#
  14. +# Send additions to Al Stone <ahs3@fc.hp.com>
  15. +# Source: http://llvm.cs.uiuc.edu/docs/BytecodeFormat.html#signature
  16. +#
  17. +0 string llvm LLVM byte-codes, uncompressed
  18. +0 string llvc0 LLVM byte-codes, null compression
  19. +0 string llvc1 LLVM byte-codes, gzip compression
  20. +0 string llvc2 LLVM byte-codes, bzip2 compression
  21. +
  22. diff -Naur file-4.20.orig/magic/Makefile.am file-4.20/magic/Makefile.am
  23. --- file-4.20.orig/magic/Makefile.am 2007-03-27 17:53:20.000000000 +0000
  24. +++ file-4.20/magic/Makefile.am 2007-03-27 17:52:42.000000000 +0000
  25. @@ -115,6 +115,7 @@
  26. Magdir/lif \
  27. Magdir/linux \
  28. Magdir/lisp \
  29. +Magdir/llvm \
  30. Magdir/mach \
  31. Magdir/macintosh \
  32. Magdir/magic \
  33. diff -Naur file-4.20.orig/magic/Makefile.in file-4.20/magic/Makefile.in
  34. --- file-4.20.orig/magic/Makefile.in 2007-03-27 17:53:20.000000000 +0000
  35. +++ file-4.20/magic/Makefile.in 2007-03-27 17:52:42.000000000 +0000
  36. @@ -255,6 +255,7 @@
  37. Magdir/lif \
  38. Magdir/linux \
  39. Magdir/lisp \
  40. +Magdir/llvm \
  41. Magdir/mach \
  42. Magdir/macintosh \
  43. Magdir/magic \