klibc 2.0.7

This commit is contained in:
idriskalp
2019-12-26 17:53:00 +03:00
parent 4e3bce669f
commit 8b34b490cd
2 changed files with 46 additions and 1 deletions
@@ -0,0 +1,35 @@
From d4853d030639cf3542ae39129c18b654d8d4f020 Mon Sep 17 00:00:00 2001
From: Barret Rhoden <brho@google.com>
Date: Thu, 14 Mar 2019 17:30:38 -0400
Subject: Fix missing include in sys/mman.h
Linux commit 746c9398f5ac ("arch: move common mmap flags to
linux/mman.h") moved a few mmap flags, particularly MAP_PRIVATE, from
asm/mman.h to linux/mman.h. This broke klibc's build, which uses
MAP_PRIVATE.
linux/mman.h includes asm/mman.h, so this commit merely includes
linux/mman.h instead of asm/mman.h.
Signed-off-by: Barret Rhoden <brho@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
usr/include/sys/mman.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/include/sys/mman.h b/usr/include/sys/mman.h
index 56f0b65c..3fd626e7 100644
--- a/usr/include/sys/mman.h
+++ b/usr/include/sys/mman.h
@@ -7,7 +7,7 @@
#include <klibc/extern.h>
#include <sys/types.h>
-#include <asm/mman.h>
+#include <linux/mman.h>
#define MAP_FAILED ((void *)-1)
--
cgit 1.2-0.3.lf.el7
+11 -1
View File
@@ -13,13 +13,16 @@
<IsA>library</IsA>
<Summary>A minimal libc subset for use with initramfs</Summary>
<Description>klibc, or "early userspace", is library part of an effort which tries to move as much initialization code in Linux as possible out of the kernel.</Description>
<Archive sha1sum="3dd48eaf29be52a01e90544624e9e88a0c70ea30" type="tarxz">https://www.kernel.org/pub/linux/libs/klibc/2.0/klibc-2.0.4.tar.xz</Archive>
<Archive sha1sum="f112cb92fadd98e41e7cefa2841005b158d83492" type="tarxz">https://mirrors.edge.kernel.org/pub/linux/libs/klibc/2.0/klibc-2.0.7.tar.xz</Archive>
<!--Archive sha1sum="18a30cecd740f118013839333d9774e79b6a7510" type="tarxz">http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.7.tar.xz</Archive-->
<BuildDependencies>
<Dependency>perl</Dependency>
<!--Kernel güncellemesi sonrasında klibc rei edilmeli-->
<!-- <Dependency>kernel-module-headers</Dependency> -->
</BuildDependencies>
<Patches>
<!-- <Patch level="1">fix_missing_include_in_sys_mman_h.patch</Patch> -->
</Patches>
</Source>
<Package>
@@ -40,6 +43,13 @@
</Package>
<History>
<Update release="6">
<Date>2019-12-26</Date>
<Version>2.0.7</Version>
<Comment>Version bump</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="7">
<Date>2019-04-06</Date>
<Version>2.0.4</Version>