summaryrefslogtreecommitdiff
path: root/package/samba/patches/patch-source3_lib_util_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 18:52:08 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 18:52:26 +0200
commitcbd602d1e2f78be3c82615fb79099a1709a79b68 (patch)
tree13d85cfb4709d94735c52e674959d3b7cc3ee2bf /package/samba/patches/patch-source3_lib_util_c
parentd6b1e792fe76be06f68294813536d717188ea9ca (diff)
fix samba compile with GNU libc reported by Oliver, disable YP/automount for now
Diffstat (limited to 'package/samba/patches/patch-source3_lib_util_c')
-rw-r--r--package/samba/patches/patch-source3_lib_util_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/samba/patches/patch-source3_lib_util_c b/package/samba/patches/patch-source3_lib_util_c
new file mode 100644
index 000000000..41b3afb06
--- /dev/null
+++ b/package/samba/patches/patch-source3_lib_util_c
@@ -0,0 +1,18 @@
+--- samba-4.2.1.orig/source3/lib/util.c 2015-01-16 09:18:39.000000000 +0100
++++ samba-4.2.1/source3/lib/util.c 2015-04-26 13:26:28.000000000 +0200
+@@ -562,6 +562,7 @@ char *get_mydnsdomname(TALLOC_CTX *ctx)
+ }
+ }
+
++#if 0
+ #if (defined(HAVE_NETGROUP) && defined(WITH_AUTOMOUNT))
+ /******************************************************************
+ Remove any mount options such as -rsize=2048,wsize=2048 etc.
+@@ -684,6 +685,7 @@ char *automount_lookup(TALLOC_CTX *ctx,
+ }
+ #endif /* WITH_NISPLUS_HOME */
+ #endif
++#endif
+
+ bool process_exists(const struct server_id pid)
+ {