Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37499637
en ru br
Репозитории ALT

Группа :: Система/Настройка/Загрузка и инициализация
Пакет: sysvinit

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0012-Fix-FTBFS-with-glibc-2.28.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin