mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
treesheets: fix musl build
This commit is contained in:
parent
645b1d656d
commit
cc98f670cf
1 changed files with 18 additions and 0 deletions
18
srcpkgs/treesheets/patches/fix-musl-glob-tilde.patch
Normal file
18
srcpkgs/treesheets/patches/fix-musl-glob-tilde.patch
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
musl doesn't GLOB_TILDE, so simply don't use it here.
|
||||||
|
|
||||||
|
diff --git a/lobster/src/platform.cpp b/lobster/src/platform.cpp
|
||||||
|
index ceaec49..68e2443 100644
|
||||||
|
--- lobster/src/platform.cpp
|
||||||
|
+++ lobster/src/platform.cpp
|
||||||
|
@@ -46,6 +46,10 @@
|
||||||
|
#include "sdlincludes.h" // FIXME
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifndef GLOB_TILDE
|
||||||
|
+#define GLOB_TILDE 0
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
// Main dir to load files relative to, on windows this is where lobster.exe resides, on apple
|
||||||
|
// platforms it's the Resource folder in the bundle.
|
||||||
|
string datadir;
|
||||||
|
|
Loading…
Add table
Reference in a new issue