summarylogtreecommitdiffstats
path: root/ply-utils.c.patch
diff options
context:
space:
mode:
authorTaijian2022-09-04 17:36:49 +0200
committerTaijian2022-09-04 17:36:49 +0200
commitfc540eeaddc3e7956454111c3aecc717166e992a (patch)
treee7b05eb43a3133c5c8bce23d31bf591132fda149 /ply-utils.c.patch
parent61629bfdc373e157c2188f51fd4b1b550f5092ac (diff)
downloadaur-fc540eeaddc3e7956454111c3aecc717166e992a.tar.gz
add patch to fix build failure & fix font dependencies for initramfs generation
Diffstat (limited to 'ply-utils.c.patch')
-rw-r--r--ply-utils.c.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/ply-utils.c.patch b/ply-utils.c.patch
new file mode 100644
index 000000000000..77aeadf31ba4
--- /dev/null
+++ b/ply-utils.c.patch
@@ -0,0 +1,28 @@
+@@ -0,0 +1,30 @@
+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>