diff options
Diffstat (limited to 'patches/samba-3.0.33/samba-3.0.23-configure.diff')
-rw-r--r-- | patches/samba-3.0.33/samba-3.0.23-configure.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/samba-3.0.33/samba-3.0.23-configure.diff b/patches/samba-3.0.33/samba-3.0.23-configure.diff new file mode 100644 index 000000000..4bf7bf77e --- /dev/null +++ b/patches/samba-3.0.33/samba-3.0.23-configure.diff @@ -0,0 +1,33 @@ +--- + source/configure.in | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +Index: source/configure.in +=================================================================== +--- source/configure.in.orig ++++ source/configure.in +@@ -1386,7 +1386,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl + case "$host_os" in + *linux*) + # glibc <= 2.3.2 has a broken getgrouplist +- AC_TRY_RUN([ ++ AC_RUN_IFELSE([ + #include <unistd.h> + #include <sys/utsname.h> + main() { +@@ -1402,10 +1402,14 @@ main() { + #endif + exit(0); + } +-], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no]) ++], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no], [linux_getgrouplist_ok=maybe]) ++ + if test x"$linux_getgrouplist_ok" = x"yes"; then + AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist]) + fi ++ if test x"$linux_getgrouplist_ok" = x"maybe"; then ++ AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist - guessed while crosscompiling]) ++ fi + ;; + *) + AC_CHECK_FUNCS(getgrouplist) |