void-packages/srcpkgs/plymouth/patches/fix-glibc-2.36.patch

31 lines
753 B
Diff

From 5f1e43c00039a7fe1fff768b91a05a695fb4a53d Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Wed, 3 Aug 2022 15:23:33 -0400
Subject: [PATCH] ply-utils: Drop linux/fs.h include
It was needed long ago for a function we no longer even have.
Now it's causing compile errors on Fedora 37 because it's conflicting
with sys/mount.h.
This commit drops it.
---
src/libply/ply-utils.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libply/ply-utils.c b/src/libply/ply-utils.c
index c7b165e9..219e2e77 100644
--- a/src/libply/ply-utils.c
+++ b/src/libply/ply-utils.c
@@ -46,7 +46,6 @@
#include <sys/user.h>
#include <sys/wait.h>
#include <time.h>
-#include <linux/fs.h>
#include <linux/vt.h>
#include <dlfcn.h>
--
GitLab