giada: fix build

This commit is contained in:
Enno Boland 2017-11-04 17:26:54 +01:00
parent 00ac99e3d4
commit e90fe15a3d
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/utils/string.cpp.orig 2017-11-04 17:25:24.140647795 +0100
+++ src/utils/string.cpp 2017-11-04 17:25:30.664645541 +0100
@@ -68,7 +68,7 @@ string gu_toString(int i)
available in gcc's standard library (libstdc++), it is however, available in
libc++ which comes with LLVM/clang. */
-#ifdef G_OS_MAC
+#if 1
std::stringstream out;
out << i;

View File

@ -14,7 +14,7 @@ homepage="https://www.giadamusic.com/"
distfiles="https://github.com/monocasual/giada/archive/v${version}.tar.gz"
checksum=dc6ded4fe230c3dbcaafaae3258ff3a41a355ad19af6f95834e5159dd095070b
CPPFLAGS="-Wno-error=cpp"
CPPFLAGS="-Wno-error=cpp -Wno-error=format-truncation"
pre_configure() {
autoreconf -fi