From b25b711e4a62095817e415c4961ea5530c28876e Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 13 Sep 2011 10:42:07 +0200 Subject: samba: bump to 3.5.11 Bump to version 3.5.11 and also update the download location. Signed-off-by: Sven Neumann Signed-off-by: Peter Korsgaard --- package/samba/samba-fix-mount.cifs.patch | 35 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'package/samba/samba-fix-mount.cifs.patch') diff --git a/package/samba/samba-fix-mount.cifs.patch b/package/samba/samba-fix-mount.cifs.patch index 90bff234c..9c235ea7b 100644 --- a/package/samba/samba-fix-mount.cifs.patch +++ b/package/samba/samba-fix-mount.cifs.patch @@ -1,18 +1,21 @@ ---- a/source/client/mount.cifs.c -+++ b/source/client/mount.cifs.c -@@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha - return ret; - } - #endif -+#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */ - - /* BB finish BB +--- a/client/mount.cifs.c 2011-09-13 10:26:21.000000000 +0200 ++++ b/client/mount.cifs.c 2011-09-13 10:27:16.000000000 +0200 +@@ -39,7 +39,6 @@ + #include + #include + #include +-#include + #include "mount.h" -@@ -178,7 +179,6 @@ static void mount_cifs_usage(void) - SAFE_FREE(mountpassword); - exit(EX_USAGE); + #define MOUNT_CIFS_VERSION_MAJOR "1" +@@ -255,6 +254,10 @@ + return 0; } --#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */ - - /* caller frees username if necessary */ - static char * getusername(void) { + #else /* CIFS_LEGACY_SETUID_CHECK */ ++ ++#ifndef _PATH_FSTAB ++#define _PATH_FSTAB "/etc/fstab" ++#endif + static int + check_fstab(const char *progname, char *mountpoint, char *devname, + char **options) -- cgit v1.2.3