dvdrw-tools: fix minor()/major() build failure due to glibc 2.28
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Sat, 8 Sep 2018 11:25:06 +0000 (13:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Sep 2018 13:37:32 +0000 (15:37 +0200)
commit7620420758074fe49fe0944078a8cceb608096bc
treec8d5a65e9d78aa874a1d00a69f88ace8b3154e39
parenta8a5501cda50a65ed9d85b220b93150265f81e49
dvdrw-tools: fix minor()/major() build failure due to glibc 2.28

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used.

This commit adds a patch to directly include <sys/sysmacros.h> into
growisofs.c where minor() and major() macros are used.

Fixes:
http://autobuild.buildroot.net/results/763/763879f845ffd43343a7b4d548b1eba991d572bd//

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch [new file with mode: 0644]