summaryrefslogtreecommitdiff
path: root/system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-20 02:12:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-20 02:12:19 -0500
commit7f7f868269c2b7bac5771822e08fa58f8878668f (patch)
treeb3bc12553583aa0d983025b06541ea33442c057e /system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch
parent6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8 (diff)
downloadpackages-7f7f868269c2b7bac5771822e08fa58f8878668f.tar.gz
packages-7f7f868269c2b7bac5771822e08fa58f8878668f.tar.bz2
packages-7f7f868269c2b7bac5771822e08fa58f8878668f.tar.xz
packages-7f7f868269c2b7bac5771822e08fa58f8878668f.zip
system/abuild: ensure abuild runs on Adélie
Diffstat (limited to 'system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch')
-rw-r--r--system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch b/system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch
new file mode 100644
index 000000000..d3bcb70ca
--- /dev/null
+++ b/system/abuild/0001-abuild-continue-faking-POSIX-support-for-now.patch
@@ -0,0 +1,31 @@
+From 2a696e782445c020db606e92f49a7afb8b9bda1a Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Sun, 20 May 2018 02:10:36 -0500
+Subject: [PATCH] abuild: continue faking POSIX support for now
+
+---
+ abuild.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/abuild.in b/abuild.in
+index bd32f4e..e3a35ca 100644
+--- a/abuild.in
++++ b/abuild.in
+@@ -1,4 +1,4 @@
+-#!/bin/ash -e
++#!/bin/sh -e
+
+ # abuild - build apk packages (light version of makepkg)
+ # Copyright (c) 2008-2015 Natanael Copa <ncopa@alpinelinux.org>
+@@ -441,7 +441,7 @@ default_unpack() {
+ tar -C "$srcdir" -xf "$s" || return 1;;
+ *.tar.gz|*.tgz)
+ msg "Unpacking $s..."
+- $gunzip -c "$s" | tar -C "$srcdir" -x || return 1;;
++ $gunzip -c "$s" | tar -C "$srcdir" -f - -x || return 1;;
+ *.tar.bz2)
+ msg "Unpacking $s..."
+ tar -C "$srcdir" -jxf "$s" || return 1;;
+--
+2.15.0
+