mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
main/linux-headers: fix redefinition of sigcontext from libc on aarch64
Problem was introduced upstream with
43d4da2c45
This commit is contained in:
parent
03e2aa8f1d
commit
f3c86ef819
@ -2,7 +2,7 @@
|
||||
pkgname=linux-headers
|
||||
pkgver=4.17.6
|
||||
_kernver=${pkgver%.*}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Linux system headers"
|
||||
url="http://kernel.org"
|
||||
arch="all"
|
||||
@ -13,6 +13,7 @@ source="https://kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz
|
||||
https://kernel.org/pub/linux/kernel/v4.x/patch-$pkgver.xz
|
||||
revert-broken-uapi.patch
|
||||
0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch
|
||||
fix-aarch64-asm-ptrace.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
@ -57,4 +58,5 @@ package() {
|
||||
sha512sums="4d9de340a26155a89ea8773131c76220cc2057f2b5d031b467b60e8b14c1842518e2d60a863d8c695f0f7640f3f18d43826201984a238dade857b6cef79837db linux-4.17.tar.xz
|
||||
4b791d94db704cbbe3dbf6b340735fe7999957741f116ca14060ced836aece1d4b51d0c3f376af1564e7379fbb9c9132a8e4d021fc74599f3ab037237d718651 patch-4.17.6.xz
|
||||
32597f2672d1ec365a936d15041a7cf219ef9353241d4a5c378244cf2fc155610443a19bbcd391c86099a0b08486c45e042ec7c90b0d04fe675c3ad0ffc36b53 revert-broken-uapi.patch
|
||||
302283b1b5f560c850e24aad73febcf7f906ed62b4cad2d826bf140ffe59191631f3cd4ac29525c349cdfe61aba6a47886a0d76f1c6a4a16b744d59b94ea5df8 0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch"
|
||||
302283b1b5f560c850e24aad73febcf7f906ed62b4cad2d826bf140ffe59191631f3cd4ac29525c349cdfe61aba6a47886a0d76f1c6a4a16b744d59b94ea5df8 0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch
|
||||
8b510dae7656ec9decee611773c21c0b379ccc8a776e4e0135cc28764fec611e9fc8bdee6a457d8df21f1399d3141659a20b70a0cb5efbb3e3b7aa7d5a5573ce fix-aarch64-asm-ptrace.patch"
|
||||
|
||||
27
main/linux-headers/fix-aarch64-asm-ptrace.patch
Normal file
27
main/linux-headers/fix-aarch64-asm-ptrace.patch
Normal file
@ -0,0 +1,27 @@
|
||||
Work around redefinition of sigcontext in libc headers
|
||||
|
||||
Introduced with:
|
||||
https://github.com/torvalds/linux/commit/43d4da2c45b2f5d62f8a79ff7c6f95089bb24656
|
||||
|
||||
diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h
|
||||
index 98c4ce5..c44efed 100644
|
||||
--- a/arch/arm64/include/uapi/asm/ptrace.h
|
||||
+++ b/arch/arm64/include/uapi/asm/ptrace.h
|
||||
@@ -23,8 +23,6 @@
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <asm/hwcap.h>
|
||||
-#include <asm/sigcontext.h>
|
||||
-
|
||||
|
||||
/*
|
||||
* PSR bits
|
||||
@@ -64,8 +62,6 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
-#include <linux/prctl.h>
|
||||
-
|
||||
/*
|
||||
* User structures for general purpose, floating point and debug registers.
|
||||
*/
|
||||
Loading…
x
Reference in New Issue
Block a user