diff --git a/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-412.patch b/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-412.patch new file mode 100644 index 0000000..82a9bd4 --- /dev/null +++ b/.patches/ncpfs-2.2.6-r6/ncpfs-hg-commit-412.patch @@ -0,0 +1,24 @@ +changeset: 412:b4b6191b3d97 +user: Petr Vandrovec +date: Sat May 28 13:46:29 2005 +0000 +files: lib/nwclient.c +description: +Define ENOPKG error as ENOSYS if ENOPKG does not exist. Needed for +Darwin. + + +diff -r e04165992166 -r b4b6191b3d97 lib/nwclient.c +--- a/lib/nwclient.c Sat May 28 13:45:22 2005 +0000 ++++ b/lib/nwclient.c Sat May 28 13:46:29 2005 +0000 +@@ -88,6 +88,10 @@ + #endif + #include + #include ++ ++#ifndef ENOPKG ++#define ENOPKG ENOSYS ++#endif + + /*should be in ndslib.h ?*/ + #define NWE_BIND_NO_SUCH_PROP NWE_NCP_NOT_SUPPORTED + diff --git a/lib/nwclient.c b/lib/nwclient.c index 387b011..43b7dc5 100644 --- a/lib/nwclient.c +++ b/lib/nwclient.c @@ -89,6 +89,10 @@ #include #include +#ifndef ENOPKG +#define ENOPKG ENOSYS +#endif + /*should be in ndslib.h ?*/ #define NWE_BIND_NO_SUCH_PROP NWE_NCP_NOT_SUPPORTED