From 6daccb543f2f89babd2ac4587bfe3540ef2bddc7 Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Wed, 17 Sep 2025 11:20:09 -0700 Subject: [PATCH] openssh: explicitly disable arc4random_stir This was dropped from the import library on newer Cygwin, but was still present in 3.3, resulting in a build failure on 32-bit. --- openssh/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openssh/PKGBUILD b/openssh/PKGBUILD index 6f7df2bf..47b34994 100644 --- a/openssh/PKGBUILD +++ b/openssh/PKGBUILD @@ -2,7 +2,7 @@ pkgname=openssh pkgver=10.0p1 -pkgrel=3 +pkgrel=4 pkgdesc='Free version of the SSH connectivity tools' url='https://www.openssh.com/portable.html' msys2_changelog_url="https://www.openssh.com/releasenotes.html" @@ -42,6 +42,9 @@ build() { # setproctitle is new in Cygwin 3.6, and we want openssh # to work with older Cygwin versions too. export ac_cv_func_setproctitle=no + # configure might detect arc4random_stir stub in older + # Cygwin versions, which is not in header + export ac_cv_func_arc4random_stir=no export MSYSTEM=CYGWIN TEST_SSH_UTF8=no \