Skip to content

Commit

Permalink
kernel-libc-headers: update to 5.10.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jan 5, 2021
1 parent 7b214bb commit 2503851
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 267 deletions.

This file was deleted.

109 changes: 0 additions & 109 deletions srcpkgs/kernel-libc-headers/patches/1-6-musl-libc-net-compat.patch

This file was deleted.

This file was deleted.

14 changes: 14 additions & 0 deletions srcpkgs/kernel-libc-headers/patches/1-8-if_tunnel.h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Reverts 1fe8e0f074c77aa41aaa579345a9e675acbebfa9

--- include/uapi/linux/if_tunnel.h
+++ include/uapi/linux/if_tunnel.h
@@ -2,9 +2,6 @@
#define _UAPI_IF_TUNNEL_H_

#include <linux/types.h>
-#include <linux/if.h>
-#include <linux/ip.h>
-#include <linux/in6.h>
#include <asm/byteorder.h>


26 changes: 13 additions & 13 deletions srcpkgs/kernel-libc-headers/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Template file for 'kernel-libc-headers'
pkgname=kernel-libc-headers
version=4.19.0
revision=2
version=5.10.4
revision=1
bootstrap=yes
nostrip=yes
noverifyrdeps=yes
noshlibprovides=yes
wrksrc=linux-${version%.*}
short_desc="The Linux API headers for userland development"
wrksrc=linux-${version}
short_desc="Linux API headers for userland development"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-only"
homepage="http://www.kernel.org"
distfiles="$KERNEL_SITE/kernel/v4.x/linux-${version%.*}.tar.xz"
checksum=0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1
distfiles="$KERNEL_SITE/kernel/v${version%%.*}.x/linux-${version}.tar.xz"
checksum=904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec

if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
Expand All @@ -28,12 +26,14 @@ esac

do_build() {
make mrproper
make ARCH=${_arch} headers_check
make ARCH=${_arch} headers
}
do_install() {
make ARCH=${_arch} INSTALL_HDR_PATH=${DESTDIR}/usr headers_install
# Remove unused files.
rm -f $(find ${DESTDIR}/usr/include -name .install -or -name ..install.cmd)
find usr/include -name '.*' -delete
rm usr/include/Makefile
vmkdir usr/include
vcopy usr/include usr

# Remove drm headers, use libdrm.
rm -rf ${DESTDIR}/usr/include/drm
}

0 comments on commit 2503851

Please sign in to comment.