git: f624955c58f8 - main - audio/pulseaudio: fix closefrom patch

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 04 Apr 2024 08:10:59 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f624955c58f8a41379d3b60ce44542236c19e220

commit f624955c58f8a41379d3b60ce44542236c19e220
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-04-04 08:10:14 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-04-04 08:10:58 +0000

    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 f3eb4e9d25fc..18e3bc74ead5 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++;