summaryrefslogtreecommitdiffstats
path: root/main/samba/samba-uclibc-fstab.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-18 06:09:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-18 06:09:03 +0000
commit67313c76e851795859655bc6f944e5d73753e596 (patch)
tree1591d50b4a459e188ef20066759c5b3e769d24e6 /main/samba/samba-uclibc-fstab.patch
parentfc031f3160d4ebd386d11216e941bdce12c94e3e (diff)
downloadaports-67313c76e851795859655bc6f944e5d73753e596.tar.bz2
aports-67313c76e851795859655bc6f944e5d73753e596.tar.xz
main/samba: upgrade to 3.5.2
Diffstat (limited to 'main/samba/samba-uclibc-fstab.patch')
-rw-r--r--main/samba/samba-uclibc-fstab.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/samba/samba-uclibc-fstab.patch b/main/samba/samba-uclibc-fstab.patch
new file mode 100644
index 000000000..3fdbc9030
--- /dev/null
+++ b/main/samba/samba-uclibc-fstab.patch
@@ -0,0 +1,15 @@
+--- ./client/mount.cifs.c.orig
++++ ./client/mount.cifs.c
+@@ -39,7 +39,11 @@
+ #include <mntent.h>
+ #include <fcntl.h>
+ #include <limits.h>
+-#include <fstab.h>
++#if defined(__UCLIBC__)
++ #define _PATH_FSTAB "/etc/fstab"
++#else
++ #include <fstab.h>
++#endif
+ #include "mount.h"
+
+ #define MOUNT_CIFS_VERSION_MAJOR "1"