aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdispatch/getprogname-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdispatch/getprogname-musl.patch')
-rw-r--r--community/libdispatch/getprogname-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/libdispatch/getprogname-musl.patch b/community/libdispatch/getprogname-musl.patch
new file mode 100644
index 00000000000..30253e0ba46
--- /dev/null
+++ b/community/libdispatch/getprogname-musl.patch
@@ -0,0 +1,11 @@
+--- a/src/shims/getprogname.h
++++ b/src/shims/getprogname.h
+@@ -37,7 +37,7 @@
+ static inline char *
+ getprogname(void)
+ {
+-# if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
++# if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME || true
+ return program_invocation_short_name;
+ # elif defined(__ANDROID__)
+ return __progname;