gnome-builder: fix musl
This commit is contained in:
parent
52a586bd51
commit
b832252923
@ -0,0 +1,25 @@
|
||||
commit ec3f94cf7430b8c4120a9a2b352a238163696bec
|
||||
Author: Ting-Wei Lan <lantw@src.gnome.org>
|
||||
Date: Mon Jul 29 23:24:27 2019 +0800
|
||||
|
||||
foundry: don't require FNM_EXTMATCH
|
||||
|
||||
If the system doesn't support FNM_EXTMATCH, we just fallback to 0. It
|
||||
seems to be safe because nothing depends on its extra features currently.
|
||||
|
||||
diff --git src/libide/foundry/ide-simple-build-system-discovery.c src/libide/foundry/ide-simple-build-system-discovery.c
|
||||
index c62eeb155..57883996f 100644
|
||||
--- src/libide/foundry/ide-simple-build-system-discovery.c
|
||||
+++ src/libide/foundry/ide-simple-build-system-discovery.c
|
||||
@@ -289,7 +289,11 @@ ide_simple_build_system_discovery_match (IdeSimpleBuildSystemDiscovery *self,
|
||||
g_assert (IDE_IS_SIMPLE_BUILD_SYSTEM_DISCOVERY (self));
|
||||
g_assert (name != NULL);
|
||||
|
||||
+#ifdef FNM_EXTMATCH
|
||||
return fnmatch (priv->glob, name, FNM_EXTMATCH) == 0;
|
||||
+#else
|
||||
+ return fnmatch (priv->glob, name, 0) == 0;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static gboolean
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'gnome-builder'
|
||||
pkgname=gnome-builder
|
||||
version=3.32.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true"
|
||||
hostmakedepends="appdata-tools desktop-file-utils flex gobject-introspection
|
||||
|
Loading…
x
Reference in New Issue
Block a user