cdrkit-1.1.11-sysmacros.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. diff -up wrk/genisoimage/rock.c.wrk wrk/genisoimage/rock.c
  2. --- wrk/genisoimage/rock.c.wrk 2017-01-04 14:25:54.879670532 +0100
  3. +++ wrk/genisoimage/rock.c 2017-01-04 15:11:38.061228649 +0100
  4. @@ -39,6 +39,11 @@
  5. #include <device.h>
  6. #include <schily.h>
  7. +/* "major" and "minor" macros will be moved to sysmacros.h
  8. + * silence the warning
  9. + * added by cdrkit-1.1.11-sysmacros.patch */
  10. +#include <sys/sysmacros.h>
  11. +
  12. #define SU_VERSION 1
  13. #define SL_ROOT 8
  14. diff -up wrk/genisoimage/tree.c.wrk wrk/genisoimage/tree.c
  15. --- wrk/genisoimage/tree.c.wrk 2017-01-04 14:21:47.472189363 +0100
  16. +++ wrk/genisoimage/tree.c 2017-01-04 15:13:32.989466729 +0100
  17. @@ -50,6 +50,11 @@
  18. #include <schily.h>
  19. #include <libgen.h>
  20. +/* "major" and "minor" macros will be moved to sysmacros.h
  21. + * silence the warning
  22. + * added by cdrkit-1.1.11-sysmacros.patch */
  23. +#include <sys/sysmacros.h>
  24. +
  25. extern int allow_limited_size;
  26. #ifdef VMS
  27. diff -up wrk/icedax/interface.c.wrk wrk/icedax/interface.c
  28. --- wrk/icedax/interface.c.wrk 2017-01-04 14:46:54.298203958 +0100
  29. +++ wrk/icedax/interface.c 2017-01-04 15:14:06.333535804 +0100
  30. @@ -55,6 +55,11 @@
  31. #include <sys/ioctl.h>
  32. #include <statdefs.h>
  33. +/* "major" and "minor" macros will be moved to sysmacros.h
  34. + * silence the warning
  35. + * added by cdrkit-1.1.11-sysmacros.patch */
  36. +#include <sys/sysmacros.h>
  37. +
  38. #include "mycdrom.h"
  39. #include "lowlevel.h"
  40. diff -up wrk/icedax/ioctl.c.wrk wrk/icedax/ioctl.c
  41. --- wrk/icedax/ioctl.c.wrk 2017-01-04 14:49:45.834583930 +0100
  42. +++ wrk/icedax/ioctl.c 2017-01-04 15:15:10.268668248 +0100
  43. @@ -36,6 +36,11 @@
  44. #include <schily.h>
  45. #include <device.h>
  46. +/* "major" and "minor" macros will be moved to sysmacros.h
  47. + * silence the warning
  48. + * added by cdrkit-1.1.11-sysmacros.patch */
  49. +#include <sys/sysmacros.h>
  50. +
  51. #include <usal/scsitransp.h>
  52. #include "mycdrom.h"