From f624955c58f8a41379d3b60ce44542236c19e220 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 4 Apr 2024 10:10:14 +0200 Subject: [PATCH] audio/pulseaudio: fix closefrom patch I pushed the wrong patch the first time Pointy hat: bapt --- audio/pulseaudio/files/patch-src_pulsecore_core-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/pulseaudio/files/patch-src_pulsecore_core-util.c b/audio/pulseaudio/files/patch-src_pulsecore_core-util.c index f3eb4e9d25fc9..18e3bc74ead56 100644 --- a/audio/pulseaudio/files/patch-src_pulsecore_core-util.c +++ b/audio/pulseaudio/files/patch-src_pulsecore_core-util.c @@ -7,7 +7,7 @@ - +#if defined(__FreeBSD__) + maxfd = 0; -+ for (i = 0; except_fds[i] >= 0; i++) ++ for (int i = 0; except_fds[i] >= 0; i++) + if (except_fds[i] > maxfd) + maxfd = except_fds[i]; + maxfd++;