summaryrefslogtreecommitdiffstats
path: root/package/samba/samba-getaddrinfo.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-11 09:37:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-18 22:27:21 +0200
commit21fd343a1096a74dde30d3eeca96b98a0308ab51 (patch)
tree6837795892b456bc65598a13ecd3f031bd371087 /package/samba/samba-getaddrinfo.patch
parentb396983c5419a9a9f3dab7da0a1d7aa402b32cc3 (diff)
downloadbuildroot-novena-21fd343a1096a74dde30d3eeca96b98a0308ab51.tar.gz
buildroot-novena-21fd343a1096a74dde30d3eeca96b98a0308ab51.zip
samba: bump to version 3.6.5 and enhancements
Bump samba to version 3.6.5 with SMB2 protocol support. Use shared popt rather than the builtin - it saves some space if you've already got it on your target. mount.cifs & umount.cifs have been unbundled so remove the option - users must use cifs-tools for that. Add recommended enhancement from bug #807 (make iconv support optional). Optional smbd was already commited some time ago. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/samba/samba-getaddrinfo.patch')
-rw-r--r--package/samba/samba-getaddrinfo.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/samba/samba-getaddrinfo.patch b/package/samba/samba-getaddrinfo.patch
new file mode 100644
index 000000000..af0129900
--- /dev/null
+++ b/package/samba/samba-getaddrinfo.patch
@@ -0,0 +1,19 @@
+Patch from OpenWRT.
+Don't check for buggy getaddrinfo() assume it's safe if it's present.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+--- a/source3/configure
++++ b/source3/configure
+@@ -13285,10 +13285,7 @@ if test x"$libreplace_cv_HAVE_GETADDRINF
+ # see bug 5910, use our replacements if we detect
+ # a broken system.
+ if test "$cross_compiling" = yes; then :
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error "cannot run test program while cross compiling
+-See \`config.log' for more details." "$LINENO" 5; }
++ $as_echo "assuming valid getaddrinfo without bug 5910" >&2
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */