summaryrefslogtreecommitdiff
path: root/user/zfs/fix-autoconf-redirection-for-dash.patch
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:06:25 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:46:30 -0500
commit2bcfdd65af6623d67e1865abc9636d7958ec4190 (patch)
tree1475e8b92fae5d212fb46e690ac819537f58c0dd /user/zfs/fix-autoconf-redirection-for-dash.patch
parent9297468fa579836e3a6a381b798feb6b78217c2d (diff)
downloadpackages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.gz
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.bz2
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.tar.xz
packages-2bcfdd65af6623d67e1865abc9636d7958ec4190.zip
user/zfs, user/zfs-utils: update to 0.8.3 and make it build
Update autoconf to remove nonstandard '&>' redirection that causes module build test to inadvertently background in dash and then fail due to a race. Also backport patches to support removal of time_t; commit hashes courtesy of https://bugs.launchpad.net/bugs/1863136 .
Diffstat (limited to 'user/zfs/fix-autoconf-redirection-for-dash.patch')
-rw-r--r--user/zfs/fix-autoconf-redirection-for-dash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/zfs/fix-autoconf-redirection-for-dash.patch b/user/zfs/fix-autoconf-redirection-for-dash.patch
new file mode 100644
index 000000000..aa6e3becc
--- /dev/null
+++ b/user/zfs/fix-autoconf-redirection-for-dash.patch
@@ -0,0 +1,11 @@
+--- a/config/kernel.m4 2020-03-28 09:54:37.851263408 +0000
++++ b/config/kernel.m4 2020-03-28 09:54:47.004155429 +0000
+@@ -603,7 +603,7 @@
+ AC_TRY_COMMAND([
+ KBUILD_MODPOST_NOFINAL="$5" KBUILD_MODPOST_WARN="$6"
+ make modules -k -j$TEST_JOBS -C $LINUX_OBJ $ARCH_UM
+- M=$PWD/$1 &>$1/build.log])
++ M=$PWD/$1 >$1/build.log 2>&1])
+ AS_IF([AC_TRY_COMMAND([$2])], [$3], [$4])
+ ])
+