From 59a3c0d7876ee1679d8936e62a2162da8414de72 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Thu, 29 Oct 2009 17:19:54 +0100 Subject: [samba] version bump to 3.0.37 Signed-off-by: Marc Kleine-Budde --- .../0007-configure.in-fix-dev_t-test.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 patches/samba-3.0.37/0007-configure.in-fix-dev_t-test.patch (limited to 'patches/samba-3.0.37/0007-configure.in-fix-dev_t-test.patch') diff --git a/patches/samba-3.0.37/0007-configure.in-fix-dev_t-test.patch b/patches/samba-3.0.37/0007-configure.in-fix-dev_t-test.patch new file mode 100644 index 000000000..875a89beb --- /dev/null +++ b/patches/samba-3.0.37/0007-configure.in-fix-dev_t-test.patch @@ -0,0 +1,39 @@ +From 803cbd7cf45052396ef929167bfa15ad6e8fc7bc Mon Sep 17 00:00:00 2001 +From: Marc Kleine-Budde +Date: Tue, 7 Jul 2009 19:17:52 +0200 +Subject: [PATCH 7/8] [configure.in] fix dev_t test + +Signed-off-by: Marc Kleine-Budde +--- + source/configure.in | 14 ++++++-------- + 1 files changed, 6 insertions(+), 8 deletions(-) + +diff --git a/source/configure.in b/source/configure.in +index 6094b87..8b01ed4 100644 +--- a/source/configure.in ++++ b/source/configure.in +@@ -2014,15 +2014,13 @@ if test x"$samba_cv_HAVE_INO64_T" = x"yes"; then + AC_DEFINE(HAVE_INO64_T,1,[Whether the 'ino64_t' type is available]) + fi + ++AC_CHECK_SIZEOF(dev_t) + AC_CACHE_CHECK([for 64 bit dev_t],samba_cv_SIZEOF_DEV_T,[ +-AC_TRY_RUN([ +-#if defined(HAVE_UNISTD_H) +-#include +-#endif +-#include +-#include +-main() { exit((sizeof(dev_t) == 8) ? 0 : 1); }], +-samba_cv_SIZEOF_DEV_T=yes,samba_cv_SIZEOF_DEV_T=no,samba_cv_SIZEOF_DEV_T=cross)]) ++if test $ac_cv_sizeof_dev_t -eq 8; then ++ samba_cv_SIZEOF_DEV_T=yes ++else ++ samba_cv_SIZEOF_DEV_T=no ++fi]) + if test x"$samba_cv_SIZEOF_DEV_T" = x"yes"; then + AC_DEFINE(SIZEOF_DEV_T,8,[The size of the 'dev_t' type]) + fi +-- +1.6.3.3 + -- cgit v1.2.3