summaryrefslogtreecommitdiffstats
path: root/patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff')
-rw-r--r--patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff76
1 files changed, 0 insertions, 76 deletions
diff --git a/patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff b/patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff
deleted file mode 100644
index 5a25d41b5..000000000
--- a/patches/pure-ftpd-1.0.21/generic/configure-getgroups-cacheable.diff
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Committed-By: Marc Kleine-Budde <mkl@pengutronix.de>, 2006-11-29
-#
-# Error:
-#
-# check for getgroups is not cross aware, make it cacheable and added cross default value
-#
-# State:
-#
-# do not commit, this fixes a generated file
-#
-Index: pure-ftpd-1.0.21/configure
-===================================================================
---- pure-ftpd-1.0.21.orig/configure
-+++ pure-ftpd-1.0.21/configure
-@@ -21452,12 +21452,12 @@ fi
-
- echo "$as_me:$LINENO: checking whether getgroups 0 is sane" >&5
- echo $ECHO_N "checking whether getgroups 0 is sane... $ECHO_C" >&6
-+if test "${ac_cv_safe_getgroups_0+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+
- if test "$cross_compiling" = yes; then
-- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
--See \`config.log' for more details." >&5
--echo "$as_me: error: cannot run test program while cross compiling
--See \`config.log' for more details." >&2;}
-- { (exit 1); exit 1; }; }
-+ ac_cv_safe_getgroups_0=yes
- else
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
-@@ -21496,14 +21496,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
--
--echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6
--
--cat >>confdefs.h <<\_ACEOF
--#define SAFE_GETGROUPS_0
--_ACEOF
--
-+ ac_cv_safe_getgroups_0=yes
-
- else
- echo "$as_me: program exited with status $ac_status" >&5
-@@ -21511,13 +21504,24 @@ echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
- ( exit $ac_status )
--echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6
-+ac_cv_safe_getgroups_0=no
-
- fi
- rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
-
-+fi
-+echo "$as_me:$LINENO: result: $ac_cv_safe_getgroups_0" >&5
-+echo "${ECHO_T}$ac_cv_safe_getgroups_0" >&6
-+if test "x$ac_cv_safe_getgroups_0" = "xyes"
-+then
-+
-+cat >>confdefs.h <<\_ACEOF
-+#define SAFE_GETGROUPS_0
-+_ACEOF
-+
-+fi
-+
- echo "$as_me:$LINENO: checking whether realpath likes unreadable directories" >&5
- echo $ECHO_N "checking whether realpath likes unreadable directories... $ECHO_C" >&6
- if test "$cross_compiling" = yes; then