aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-18 15:23:04 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-18 15:23:04 +0200
commit6d348ef6a3c6f4580fd2a3022e3fd7ca8e0355d6 (patch)
treea8245eae66e6a1c3768e145140ad6d28d971bac5 /main/alpine-conf
parentdd88f5e0c334e09707dec12652b54bc7c93cf26d (diff)
downloadaports-6d348ef6a3c6f4580fd2a3022e3fd7ca8e0355d6.tar.bz2
aports-6d348ef6a3c6f4580fd2a3022e3fd7ca8e0355d6.tar.xz
main/alpine-conf: add missing patch
Diffstat (limited to 'main/alpine-conf')
-rw-r--r--main/alpine-conf/0001-update-kernel-don-t-use-local-in-non-function-scope.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-update-kernel-don-t-use-local-in-non-function-scope.patch b/main/alpine-conf/0001-update-kernel-don-t-use-local-in-non-function-scope.patch
new file mode 100644
index 0000000000..d19d73e4d5
--- /dev/null
+++ b/main/alpine-conf/0001-update-kernel-don-t-use-local-in-non-function-scope.patch
@@ -0,0 +1,34 @@
+From 78d392b36076dccf1035f0b90e5dbdb2000433a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Date: Tue, 9 Aug 2016 13:17:25 +0300
+Subject: [PATCH] update-kernel: don't use local in non-function scope
+
+---
+ update-kernel.in | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/update-kernel.in b/update-kernel.in
+index ab7c528..fc0899d 100644
+--- a/update-kernel.in
++++ b/update-kernel.in
+@@ -205,7 +205,6 @@ extra_pkgs() {
+ _apk add --initdb --update-cache
+
+ if [ "$BUILDDIR" ]; then
+- local _install
+ case "$ARCH" in
+ arm*|aarch64*) _install="zinstall dtbs_install" ;;
+ *) _install="install" ;;
+@@ -264,8 +263,7 @@ fi
+ mv $STAGING/* "$DESTDIR"
+
+ if [ -d "$DTBDIR" ]; then
+- local _opwd=$PWD
+- local _dtb
++ _opwd=$PWD
+ case "$FLAVOR" in
+ rpi*) _dtb="$DESTDIR" ;;
+ *) _dtb="$DESTDIR/dtbs" ;;
+--
+2.9.3
+