net-misc/netplan: add musl libc compat patch
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 9c8e47d9721a390b877fc7de82bef1e9a1857714 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Miroshnichenko <alex@millerson.name>
|
||||
Date: Fri, 25 Oct 2024 08:18:59 +0300
|
||||
Subject: [PATCH] don't fail if GLOB_BRACE is not defined
|
||||
|
||||
---
|
||||
src/util.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/util.c b/src/util.c
|
||||
index 294a2f4..44f62c6 100644
|
||||
--- a/src/util.c
|
||||
+++ b/src/util.c
|
||||
@@ -39,6 +39,12 @@
|
||||
#include "names.h"
|
||||
#include "yaml-helpers.h"
|
||||
|
||||
+/* Don't fail if the standard library
|
||||
+ * doesn't provide brace expansion */
|
||||
+#ifndef GLOB_BRACE
|
||||
+#define GLOB_BRACE 0
|
||||
+#endif
|
||||
+
|
||||
GHashTable*
|
||||
wifi_frequency_24;
|
||||
|
||||
--
|
||||
2.45.2
|
||||
Reference in New Issue
Block a user