summaryrefslogtreecommitdiff
path: root/pkg/linux-headers/fetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/linux-headers/fetch.sh')
-rw-r--r--pkg/linux-headers/fetch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/linux-headers/fetch.sh b/pkg/linux-headers/fetch.sh
index 316e4382..0fdaa7f5 100644
--- a/pkg/linux-headers/fetch.sh
+++ b/pkg/linux-headers/fetch.sh
@@ -22,3 +22,7 @@ xzcat "$archive" | ${PAXREAD:-pax -r} -s ',^[^/]*,src,' \
'linux-*/arch/*/syscalls' \
'linux-*/include/uapi' \
'linux-*/scripts/unifdef.c'
+
+if [ -d patch ] ; then
+ git apply -v --whitespace=nowarn --directory "$dir/src" patch/*
+fi