Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2024 08:10:59 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f624955c58f8 - main - audio/pulseaudio: fix closefrom patch
Message-ID:  <202404040810.4348AxYh015780@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404040810.4348AxYh015780>