Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600844
en ru br
ALT Linux repos
S:3.00-alt2

Group :: System/Configuration/Boot and Init
RPM: sysvinit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0012-Fix-FTBFS-with-glibc-2.28.patch
Download


From 14d10c8042cc309f96b73ceccf73c65b3a9114d3 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Thu, 16 Dec 2021 22:40:33 +0300
Subject: Fix FTBFS with glibc >= 2.28
---
 src/bootlogd.c   | 1 +
 src/mountpoint.c | 1 +
 2 files changed, 2 insertions(+)
diff --git a/src/bootlogd.c b/src/bootlogd.c
index 4e57047..13556b5 100644
--- a/src/bootlogd.c
+++ b/src/bootlogd.c
@@ -31,6 +31,7 @@
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/utsname.h>
+#include <sys/sysmacros.h>
 #include <time.h>
 #include <stdio.h>
 #include <errno.h>
diff --git a/src/mountpoint.c b/src/mountpoint.c
index a6eff1b..af95e98 100644
--- a/src/mountpoint.c
+++ b/src/mountpoint.c
@@ -24,6 +24,7 @@
  */
 
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin