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