diff --git a/srcpkgs/9mount/patches/fix-trans-fd.patch b/srcpkgs/9mount/patches/fix-trans-fd.patch new file mode 100644 index 0000000000..04e10b5c4e --- /dev/null +++ b/srcpkgs/9mount/patches/fix-trans-fd.patch @@ -0,0 +1,21 @@ + +# HG changeset patch +# User Michael Gehring +# 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 51422efaf7..5b1160ad20 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"