ports/net/nss-pam-ldapd/files/patch-configure
Ryan Steinmetz 7b4ba79abf
net/pam-nss-ldapd: Update to 0.9.13
PR:		286039
Reported by:	Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
2025-04-23 10:44:53 -04:00

16 lines
403 B
Text

--- configure.orig 2025-02-09 15:13:16 UTC
+++ configure
@@ -9959,6 +9959,13 @@ fi
fi
+ ac_fn_c_check_func "$LINENO" "closefrom" "ac_cv_func_closefrom"
+if test "x$ac_cv_func_closefrom" = xyes
+then :
+ printf "%s\n" "#define HAVE_CLOSEFROM 1" >>confdefs.h
+
+fi
+
# replace some functions if they are not on the system
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"