opnsense-ports/lang/guile3/files/patch-configure
Franco Fichtner fde8a0af29 */*: sync with upstream
Taken from: FreeBSD
2024-07-29 22:39:23 +02:00

18 lines
587 B
Text

--- configure.orig 2024-06-23 21:38:45 UTC
+++ configure
@@ -60113,6 +60113,15 @@ fi
fi
+ac_fn_c_check_func "$LINENO" "posix_spawn_file_actions_addclosefrom_np" "ac_cv_func_posix_spawn_file_actions_addclosefrom_np"
+if test "x$ac_cv_func_posix_spawn_file_actions_addclosefrom_np" = xyes
+then :
+ printf "%s\n" "#define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP 1" >>confdefs.h
+
+fi
+
+
+
# The newlib C library uses _NL_ prefixed locale langinfo constants.
ac_fn_check_decl "$LINENO" "_NL_NUMERIC_GROUPING" "ac_cv_have_decl__NL_NUMERIC_GROUPING" "#include <langinfo.h>