git: 7b5548779bb1 - main - audio/virtual_oss: Start service after ldconfig

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Tue, 03 Jun 2025 10:31:42 UTC
The branch main has been updated by christos:

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

commit 7b5548779bb1a5e86c2a340ebab352e685e018d6
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-06-03 10:31:04 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-06-03 10:31:35 +0000

    audio/virtual_oss: Start service after ldconfig
    
    If virtual_oss is built with sndio enabled, the service might not start
    successfuly on boot if ldconfig has not already updated the shared
    library cache.
    
    Proposed by:    atagster@gmail.com
    PR:             287198
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    arrowd
    Differential Revision:  https://reviews.freebsd.org/D50635
---
 audio/virtual_oss/files/virtual_oss.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/audio/virtual_oss/files/virtual_oss.in b/audio/virtual_oss/files/virtual_oss.in
index 703e9ae79129..16ce2ea981c6 100644
--- a/audio/virtual_oss/files/virtual_oss.in
+++ b/audio/virtual_oss/files/virtual_oss.in
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # PROVIDE: virtual_oss
-# REQUIRE: kld
+# REQUIRE: kld ldconfig
 # BEFORE: LOGIN sndiod
 # KEYWORD: shutdown