This commit is contained in:
Rmys
2020-01-25 23:35:53 +03:00
parent a06fb37f56
commit 46d16e9229
2 changed files with 48 additions and 2 deletions
@@ -0,0 +1,45 @@
From f8d7813b32dfe129d1e5718719ee3eff131f4fac Mon Sep 17 00:00:00 2001
From: Kjell Claesson <kjell.claesson@epost.tidanet.se>
Date: Fri, 18 Aug 2017 00:25:56 +0200
Subject: [PATCH] Fix build with newer glibc
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
---
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 <unistd.h>
#include <wchar.h>
+/* major()/minor() */
+#ifdef MAJOR_IN_MKDEV
+# include <sys/mkdev.h>
+#endif
+#ifdef MAJOR_IN_SYSMACROS
+# include <sys/sysmacros.h>
+#endif
+
#include <linux/kd.h>
#include <linux/major.h>
#include <linux/vt.h>
--
2.14.1
+3 -2
View File
@@ -13,8 +13,8 @@
<IsA>library</IsA>
<Summary>Graphical Boot Animation and Logger</Summary>
<Description>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.</Description>
<Archive sha1sum="d0b70929bc47899e03019c3fcd681dd043d7fb8c" type="targz">http://source.pisilinux.org/1.0/plymouth-0.8.8.tar.gz</Archive>
<Archive sha1sum="f12d053f015708646d0871332b4b9465e7b11cef" type="tarxz" target="plymouth-0.8.8/themes">https://sourceforge.net/projects/pisilinux/files/source/plymouth-theme-pisilinux-0.4.tar.xz</Archive>
<Archive sha1sum="292abc0517eb90d6ce6be04cc26d29738e796458" type="targz">https://github.com/ev3dev/plymouth/archive/upstream/0.8.8.tar.gz</Archive>
<Archive sha1sum="f12d053f015708646d0871332b4b9465e7b11cef" type="tarxz" target="plymouth-upstream-0.8.8/themes">https://sourceforge.net/projects/pisilinux/files/source/plymouth-theme-pisilinux-0.4.tar.xz</Archive>
<AdditionalFiles>
<AdditionalFile permission="0755" target="generate-flist">pisilinux/generate-flist.py</AdditionalFile>
</AdditionalFiles>
@@ -41,6 +41,7 @@
<!--MaGeia patches-->
<Patch level="1">mageia/plymouth-restore-suspend.patch</Patch>
<Patch level="1">fedora/fix-crash.patch</Patch>
<Patch level="1">0.9.3-glibc-sysmacros.patch</Patch>
</Patches>
</Source>