Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] - fixed access of files with some stupid nfs servers (HaneWin) …

…- fixes iso playback with that servers ...
  • Loading branch information...
commit 0d5e54a8370c3b814ab26d779e73fc8fe70d1b3f 1 parent a93a25a
@Memphiz Memphiz authored
View
12 tools/darwin/depends/libnfs/001_fix_hanewin.patch
@@ -0,0 +1,12 @@
+--- lib/libnfs.c 2011-09-02 12:45:30.000000000 +0200
++++ lib/libnfs.c 2011-12-04 21:16:07.000000000 +0100
+@@ -666,6 +666,9 @@
+ if (res->GETATTR3res_u.resok.obj_attributes.type == NF3DIR) {
+ st.st_mode |= S_IFDIR ;
+ }
++ if (res->GETATTR3res_u.resok.obj_attributes.type == NF3REG) {
++ st.st_mode |= S_IFREG ;
++ }
+ st.st_nlink = res->GETATTR3res_u.resok.obj_attributes.nlink;
+ st.st_uid = res->GETATTR3res_u.resok.obj_attributes.uid;
+ st.st_gid = res->GETATTR3res_u.resok.obj_attributes.gid;
View
1  tools/darwin/depends/libnfs/Makefile
@@ -27,6 +27,7 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
echo $(SOURCE) > .gitignore
mkdir -p $(PREFIX)/include/rpc
install -c -m 644 $(RPC_HEADERS) $(PREFIX)/include/rpc/
+ cd $(SOURCE); patch -p0 < ../001_fix_hanewin.patch
cd $(SOURCE); ./bootstrap
cd $(SOURCE); $(CONFIGURE)
Please sign in to comment.
Something went wrong with that request. Please try again.