summaryrefslogtreecommitdiffstats
path: root/package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-04-22 21:07:58 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-24 11:13:32 +0200
commit002aeba3de481d8d304b5d3d301cc7047073705a (patch)
tree2f6f7088655bdf40dd7e8f9fcc862e823be36796 /package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
parent36afe6de9c8760b4dc26ca89e97e78dce627e716 (diff)
downloadbuildroot-002aeba3de481d8d304b5d3d301cc7047073705a.tar.gz
buildroot-002aeba3de481d8d304b5d3d301cc7047073705a.zip
samba4: bump to version 4.1.7 and improve cross build
Bump to the latest 4.1.7 version and improve the cross-build logic. With the new patches the build is basically architecture-agnostic making it possible to ditch the arch-specific cache to use a generic one. Some toolchains might not be too happy with samba4 because of bitrot, hopefully we'll find and fix or blacklist those with autobuilder help. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch')
-rw-r--r--package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch b/package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
index ec46650041..9dc3185e3c 100644
--- a/package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
+++ b/package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
@@ -1,24 +1,22 @@
-From 3c16a171c008b584ed427988dde73c1d9a9de4ad Mon Sep 17 00:00:00 2001
+From 5e0bafd6504916dd7de5b1ae90e7253d11498435 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Mon, 20 Jan 2014 10:17:19 -0300
-Subject: [PATCH 2/3] build: don't execute statfs and f_fsid checks
+Subject: [PATCH 1/5] build: don't execute statfs and f_fsid checks
There's no need to execute the statfs and statfs.f_fsid checks, the
return value is of no consequence since it's undefined in some
platforms and prevents cross-compiling.
-Status: sent, not yet upstream pending more testing.
-
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
source3/wscript | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/source3/wscript b/source3/wscript
-index 501707b..2d0a62e 100644
+index 4fe49fa..e81a47b 100644
--- a/source3/wscript
+++ b/source3/wscript
-@@ -468,8 +468,7 @@ return acl_get_perm_np(permset_d, perm);
+@@ -476,8 +476,7 @@ return acl_get_perm_np(permset_d, perm);
conf.CHECK_CODE('struct statfs fsd; fsid_t fsid = fsd.f_fsid; return statfs(".", &fsd);',
'HAVE_STATFS_F_FSID',
msg="vfs_fileid: checking for statfs() and struct statfs.f_fsid",
OpenPOWER on IntegriCloud