termux-packages/x11-packages/ardour/fix-platform.patch

16 lines
322 B
Diff

--- a/wscript
+++ b/wscript
@@ -376,9 +376,9 @@
debug_flags = []
u = PLATFORM.uname ()
- cpu = u[4]
- platform = u[0].lower()
- version = u[2]
+ cpu = 'generic'
+ platform = 'linux'
+ version = 'none'
# waf adds -O0 -g itself. thanks waf!
is_clang = conf.check_cxx(fragment = '''