7620420758
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>
15 lines
496 B
Diff
15 lines
496 B
Diff
growisofs.c: include sysmacros.h to compile with glibc-2.28
|
|
|
|
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
|
|
|
diff -urpN dvd+rw-tools-7.1.orig/growisofs.c dvd+rw-tools-7.1/growisofs.c
|
|
--- dvd+rw-tools-7.1.orig/growisofs.c 2018-09-08 01:56:11.686656819 +0200
|
|
+++ dvd+rw-tools-7.1/growisofs.c 2018-09-08 02:11:45.868778471 +0200
|
|
@@ -441,6 +441,7 @@
|
|
#include <fcntl.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <assert.h>
|
|
#include "mp.h"
|