public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 01/15] sysvinit: Fix build against glibc 2.36
@ 2022-08-15 17:17 Michael Tremer
  2022-08-15 17:17 ` [PATCH 02/15] gcc: " Michael Tremer
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Michael Tremer @ 2022-08-15 17:17 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 lfs/sysvinit                                           |  1 +
 src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch

diff --git a/lfs/sysvinit b/lfs/sysvinit
index 0126b283e..ec0a5c292 100644
--- a/lfs/sysvinit
+++ b/lfs/sysvinit
@@ -73,6 +73,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	# Newer C libraries omit this include from sys/types.h.
 	# https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html
 	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/sysvinit-2.98_build_mountpoint.patch
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch
 	cd $(DIR_APP) && sed -i src/mountpoint.c src/bootlogd.c \
 		-e "/include.*sys\/stat.h/a#include <sys/sysmacros.h>\n"
 	cd $(DIR_APP) && sed -e "s/libcrypt.a/libcrypt.so/g" -i src/Makefile
diff --git a/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch b/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch
new file mode 100644
index 000000000..ee6f621b5
--- /dev/null
+++ b/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch
@@ -0,0 +1,10 @@
+--- sysvinit-3.00/src/sulogin.c~	2022-08-09 09:43:41.993484098 +0000
++++ sysvinit-3.00/src/sulogin.c	2022-08-09 09:45:04.897252500 +0000
+@@ -51,7 +51,6 @@
+ #ifdef __linux__
+ #  include <sys/statfs.h>
+ #  include <sys/mount.h>
+-#  include <linux/fs.h>
+ #  include <linux/magic.h>
+ #  include <linux/major.h>
+ #  ifndef TMPFS_MAGIC
-- 
2.30.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-08-15 17:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 17:17 [PATCH 01/15] sysvinit: Fix build against glibc 2.36 Michael Tremer
2022-08-15 17:17 ` [PATCH 02/15] gcc: " Michael Tremer
2022-08-15 17:17 ` [PATCH 03/15] binutils: Update to 2.39 Michael Tremer
2022-08-15 17:17 ` [PATCH 04/15] glibc: Update to 2.36 Michael Tremer
2022-08-15 17:17 ` [PATCH 05/15] make.sh: Bump toolchain version Michael Tremer
2022-08-15 17:17 ` [PATCH 06/15] efivars: Fix build with glibc 2.36 Michael Tremer
2022-08-15 17:17 ` [PATCH 07/15] libarchive: " Michael Tremer
2022-08-15 17:17 ` [PATCH 08/15] hdparm: " Michael Tremer
2022-08-15 17:17 ` [PATCH 09/15] samba: " Michael Tremer
2022-08-15 17:17 ` [PATCH 10/15] qemu: Fix build against " Michael Tremer
2022-08-15 17:17 ` [PATCH 11/15] collected: Fix build with " Michael Tremer
2022-08-15 17:17 ` [PATCH 12/15] libvirt: Fix build against " Michael Tremer
2022-08-15 17:17 ` [PATCH 13/15] syslinux: " Michael Tremer
2022-08-15 17:17 ` [PATCH 14/15] installer: " Michael Tremer
2022-08-15 17:17 ` [PATCH 15/15] u-boot: Ignore LOAD segments with RWX permissions Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox