Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/audio/alsa-plugins/files/patch-jack_pcm__jack.c
16461 views
1
--- jack/pcm_jack.c.orig 2024-06-10 09:18:39 UTC
2
+++ jack/pcm_jack.c
3
@@ -602,7 +602,7 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const c
4
}
5
6
if (client_name == NULL) {
7
-#if defined(_GNU_SOURCE)
8
+#if defined(_GNU_SOURCE) && defined(__linux__)
9
const char *pname = program_invocation_short_name;
10
#else
11
const char *pname = getprogname();
12
13