diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-04-04 10:10:14 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-04-04 10:10:58 +0200 |
commit | f624955c58f8a41379d3b60ce44542236c19e220 (patch) | |
tree | f8736f2a4d37c271f6192b49bac66e837440ba1a | |
parent | math/py-nlopt: update 2.7.1 → 2.7.1.2 (diff) |
audio/pulseaudio: fix closefrom patch
I pushed the wrong patch the first time
Pointy hat: bapt
-rw-r--r-- | audio/pulseaudio/files/patch-src_pulsecore_core-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |