diff --git a/system/boot/plymouth/files/0.9.3-glibc-sysmacros.patch b/system/boot/plymouth/files/0.9.3-glibc-sysmacros.patch new file mode 100644 index 0000000000..8969161bb1 --- /dev/null +++ b/system/boot/plymouth/files/0.9.3-glibc-sysmacros.patch @@ -0,0 +1,45 @@ +From f8d7813b32dfe129d1e5718719ee3eff131f4fac Mon Sep 17 00:00:00 2001 +From: Kjell Claesson +Date: Fri, 18 Aug 2017 00:25:56 +0200 +Subject: [PATCH] Fix build with newer glibc + +Signed-off-by: Gilles Dartiguelongue +--- + configure.ac | 1 + + src/libply-splash-core/ply-terminal.c | 8 ++++++++ + 2 files changed, 9 insertions(+) + +diff --git a/configure.ac b/configure.ac +index c32697f..8376789 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -5,6 +5,7 @@ AC_CONFIG_AUX_DIR(build-tools) + + AC_USE_SYSTEM_EXTENSIONS + AC_SYS_LARGEFILE ++AC_HEADER_MAJOR + AC_PROG_AWK + AC_PROG_CC_STDC + AM_PROG_CC_C_O +diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c +index a0954f2..ef62bf8 100644 +--- a/src/libply-splash-core/ply-terminal.c ++++ b/src/libply-splash-core/ply-terminal.c +@@ -36,6 +36,14 @@ + #include + #include + ++/* major()/minor() */ ++#ifdef MAJOR_IN_MKDEV ++# include ++#endif ++#ifdef MAJOR_IN_SYSMACROS ++# include ++#endif ++ + #include + #include + #include +-- +2.14.1 + diff --git a/system/boot/plymouth/pspec.xml b/system/boot/plymouth/pspec.xml index c13b32b5b0..4bb423fa92 100644 --- a/system/boot/plymouth/pspec.xml +++ b/system/boot/plymouth/pspec.xml @@ -13,8 +13,8 @@ library Graphical Boot Animation and Logger plymouth provides an attractive graphical boot animation in place of the text messages that normally get shown. Text messages are instead redirected to a log file for viewing after boot. - http://source.pisilinux.org/1.0/plymouth-0.8.8.tar.gz - https://sourceforge.net/projects/pisilinux/files/source/plymouth-theme-pisilinux-0.4.tar.xz + https://github.com/ev3dev/plymouth/archive/upstream/0.8.8.tar.gz + https://sourceforge.net/projects/pisilinux/files/source/plymouth-theme-pisilinux-0.4.tar.xz pisilinux/generate-flist.py @@ -41,6 +41,7 @@ mageia/plymouth-restore-suspend.patch fedora/fix-crash.patch + 0.9.3-glibc-sysmacros.patch