summaryrefslogtreecommitdiffstats
path: root/patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-02 12:41:27 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-02 15:43:55 +0100
commit93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd (patch)
tree4fb2d20f48851f8f9fd4a295057181d2739c7a99 /patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch
parent10e3605477abfabab01fa60c320fff7e6d5776e8 (diff)
downloadptxdist-93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd.tar.gz
ptxdist-93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd.tar.xz
samba: version bump 3.0.37 -> 4.9.4
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch')
-rw-r--r--patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch b/patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch
deleted file mode 100644
index 0043cee20..000000000
--- a/patches/samba-3.0.37/0002-configure.in-make-getgrouplist_ok-test-cross-compile.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 9130b57a196e2cf316230409b7e1d4a4eab56fed Mon Sep 17 00:00:00 2001
-From: Robert Schwebel <r.schwebel@pengutronix.de>
-Date: Tue, 7 Jul 2009 15:56:55 +0200
-Subject: [PATCH 2/8] [configure.in] make getgrouplist_ok test cross compile save
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- source/configure.in | 8 ++++++--
- 1 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/source/configure.in b/source/configure.in
-index 1e4ea0f..192a9d9 100644
---- a/source/configure.in
-+++ b/source/configure.in
-@@ -1389,7 +1389,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[])
- 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() {
-@@ -1405,10 +1405,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)
---
-1.6.3.3
-