From e90fe15a3d7d7e4ad93f102e29d06ac3ed9aeef4 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 4 Nov 2017 17:26:54 +0100 Subject: [PATCH] giada: fix build --- srcpkgs/giada/patches/fix-build.patch | 11 +++++++++++ srcpkgs/giada/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/giada/patches/fix-build.patch diff --git a/srcpkgs/giada/patches/fix-build.patch b/srcpkgs/giada/patches/fix-build.patch new file mode 100644 index 00000000000..4d86ae19177 --- /dev/null +++ b/srcpkgs/giada/patches/fix-build.patch @@ -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; diff --git a/srcpkgs/giada/template b/srcpkgs/giada/template index 1dcbedda203..f16cbf4da27 100644 --- a/srcpkgs/giada/template +++ b/srcpkgs/giada/template @@ -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