diff options
author | Renato Botelho <garga@FreeBSD.org> | 2010-10-28 18:34:28 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2010-10-28 18:34:28 +0000 |
commit | 9b5ac4db87e004b2f2881a86a0ca578b100d5ded (patch) | |
tree | f8dff182f36b105fc2b1736991cee63be9e605bc /archivers/arj | |
parent | - Update to 0.19.4 (diff) |
Fix BUILD when work is under a NFS mounted partition
PR: ports/151290
Submitted by: Patrick Proniewski <patrick.proniewski@univ-lyon2.fr>
Obtained from: Author
Notes
Notes:
svn path=/head/; revision=263700
Diffstat (limited to 'archivers/arj')
-rw-r--r-- | archivers/arj/files/patch-environ.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/arj/files/patch-environ.c b/archivers/arj/files/patch-environ.c new file mode 100644 index 000000000000..f4cbb1d89387 --- /dev/null +++ b/archivers/arj/files/patch-environ.c @@ -0,0 +1,11 @@ +--- environ.c.orig 2010-10-28 13:11:54.000000000 -0200 ++++ environ.c 2010-10-28 13:13:10.000000000 -0200 +@@ -2058,7 +2058,7 @@ + /* ASR fix 01/10/2003 -- re-fix to handle umask 022 correctly */ + if((handle=open(name, oflag, 0644))==-1) + return(NULL); +- if(fcntl(handle, F_SETLK, &flk)==-1&&errno!=EINVAL) ++ if(fcntl(handle, F_SETLK, &flk)==-1&&errno!=EINVAL&&errno!=ENOTSUP) + { + close(handle); + return(NULL); |