file-5.05-vinenames.patch 933 B

1234567891011121314151617181920212223242526272829
  1. --- file-5.05/src/names.h.vinenames 2010-10-09 06:58:44.000000000 +0900
  2. +++ file-5.05/src/names.h 2011-02-11 17:50:30.000000000 +0900
  3. @@ -55,6 +55,7 @@
  4. #define L_BCPL 11 /* BCPL */
  5. #define L_M4 12 /* M4 */
  6. #define L_PO 13 /* PO */
  7. +#define L_SPEC 14 /* Spec */
  8. static const struct {
  9. char human[48];
  10. @@ -74,6 +75,7 @@
  11. { "BCPL program", "text/x-bcpl" },
  12. { "M4 macro language pre-processor", "text/x-m4" },
  13. { "PO (gettext message catalogue)", "text/x-po" },
  14. + { "spec file", "text/x-spec" },
  15. { "cannot happen error on names.h/types", "error/x-error" }
  16. };
  17. @@ -121,6 +123,10 @@
  18. } names[] = {
  19. /* These must be sorted by eye for optimal hit rate */
  20. /* Add to this list only after substantial meditation */
  21. + {"Buildroot:", L_SPEC, 2 },
  22. + {"BuildRoot:", L_SPEC, 2 },
  23. + {"%prep:", L_SPEC, 2 },
  24. + {"%setup:", L_SPEC, 2 },
  25. {"msgid", L_PO, 1 },
  26. {"dnl", L_M4, 2 },
  27. {"import", L_JAVA, 2 },