From 944b40aed0c853a90d439277fc6e17857b8585e3 Mon Sep 17 00:00:00 2001 From: Michael Gehring <mg@ebfe.org> Date: Tue, 18 Oct 2016 03:50:20 +0200 Subject: [PATCH] 9mount: add upstream trans=fd fix --- srcpkgs/9mount/patches/fix-trans-fd.patch | 21 +++++++++++++++++++++ srcpkgs/9mount/template | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/9mount/patches/fix-trans-fd.patch diff --git a/srcpkgs/9mount/patches/fix-trans-fd.patch b/srcpkgs/9mount/patches/fix-trans-fd.patch new file mode 100644 index 00000000000..04e10b5c4e2 --- /dev/null +++ b/srcpkgs/9mount/patches/fix-trans-fd.patch @@ -0,0 +1,21 @@ + +# HG changeset patch +# User Michael Gehring <mg@ebfe.org> +# Date 1476753775 -28800 +# Node ID 4228419b479173cbad52532e91c423f2b263d73b +# Parent c6da9cac8d01ae89f50abb9f1a3dbc87ffa1ad38 +Fix trans=fd mount options + +diff -r c6da9cac8d01 -r 4228419b4791 9mount.c +--- 9mount.c Thu Apr 10 19:43:27 2014 +0800 ++++ 9mount.c Tue Oct 18 09:22:55 2016 +0800 +@@ -165,7 +165,7 @@ + if (strcmp(dial, "-") == 0) { + proto = "fd"; + addr = "nodev"; +- append(&opts, "rfdno=0,wrfdno=1", &optlen); ++ append(&opts, "rfdno=0,wfdno=1", &optlen); + } else { + parsedial(dial, &proto, &addr, &port); + } + diff --git a/srcpkgs/9mount/template b/srcpkgs/9mount/template index 51422efaf7c..5b1160ad204 100644 --- a/srcpkgs/9mount/template +++ b/srcpkgs/9mount/template @@ -1,7 +1,7 @@ # Template file for '9mount' pkgname=9mount version=1.3 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="prefix=\${DESTDIR}/usr" short_desc="A set of SUID tools for mounting 9p filesystems via v9fs"