ports/security/libgcrypt/patches/patch-configure

42 lines
1.2 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
https://dev.gnupg.org/T6442
Index: configure
--- configure.orig
+++ configure
@@ -6826,7 +6826,7 @@ else
lt_cv_sys_max_cmd_len=8192;
;;
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly* | secbsd*)
# This has been around since 386BSD, at least. Likely further.
if test -x /sbin/sysctl; then
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -7951,7 +7951,7 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
- openbsd*)
+ openbsd* | secbsd*)
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
;;
*)
@@ -10745,7 +10745,7 @@ $as_echo_n "checking whether the $compiler linker ($LD
# we just hope/assume this is gcc and not c89 (= MSVC++)
with_gnu_ld=yes
;;
- openbsd*)
+ openbsd* | secbsd*)
with_gnu_ld=no
;;
linux* | k*bsd*-gnu | gnu*)
2023-08-16 22:26:55 +00:00
@@ -18809,7 +18809,7 @@ _ACEOF
fi
done
-for ac_func in explicit_bzero explicit_memset getentropy
+for ac_func in explicit_bzero explicit_memset getentropy getrandom
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"