Message ID | 20190319112852.9592-4-esben.haabendal@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | Gummiboot fixup | expand |
Hello Esben, On Tue, 19 Mar 2019 12:28:52 +0100 Esben Haabendal <esben.haabendal@gmail.com> wrote: > From: Esben Haabendal <esben@haabendal.dk> > > Signed-off-by: Esben Haabendal <esben@haabendal.dk> Since gummiboot is maintained in a Git repository upstream, we really like to have patches generated using "git format-patch", as it makes sense easier to handle. Also, we require all patches to have a Signed-off-by. Thanks! Thomas
diff --git a/boot/gummiboot/0001-glibc-2.25-fix.patch b/boot/gummiboot/0001-glibc-2.25-fix.patch new file mode 100644 index 000000000000..377098f9ea60 --- /dev/null +++ b/boot/gummiboot/0001-glibc-2.25-fix.patch @@ -0,0 +1,16 @@ +Allow building with glibc with sys/sysmacros.h removed from sys/types.h. + +See https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html for why +this was done. + +diff -urN gummiboot-43~orig/src/setup/setup.c gummiboot-43/src/setup/setup.c +--- gummiboot-43~orig/src/setup/setup.c 2019-03-14 22:28:34.533206018 +0100 ++++ gummiboot-43/src/setup/setup.c 2019-03-15 06:40:07.895651992 +0100 +@@ -37,6 +37,7 @@ + #include <ftw.h> + #include <stdbool.h> + #include <blkid.h> ++#include <sys/sysmacros.h> + + #include "efivars.h" +