From 86210a3f208cef685030973bd8910d76e87c52e4 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 7 May 2017 15:00:00 +0200 Subject: [PATCH] ledger: fix build with gcc6 --- srcpkgs/ledger/patches/gcc6.patch | 11 +++++++++++ srcpkgs/ledger/template | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/ledger/patches/gcc6.patch diff --git a/srcpkgs/ledger/patches/gcc6.patch b/srcpkgs/ledger/patches/gcc6.patch new file mode 100644 index 00000000000..f076f8231d1 --- /dev/null +++ b/srcpkgs/ledger/patches/gcc6.patch @@ -0,0 +1,11 @@ +--- src/item.h.orig ++++ src/item.h +@@ -92,7 +92,7 @@ class item_t : public supports_flags, public scope_t + + typedef std::pair, bool> tag_data_t; + typedef std::map > string_map; ++ std::function > string_map; + + state_t _state; + optional _date; diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template index 0a8d96b583c..36ff07842c4 100644 --- a/srcpkgs/ledger/template +++ b/srcpkgs/ledger/template @@ -11,8 +11,6 @@ short_desc="A powerful, double-entry accounting system that is accessed from the distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz" checksum="90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a" -broken="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2265/steps/shell_3/logs/stdio" - post_install() { rm -Rf ${DESTDIR}/usr/local if [ -e ${DESTDIR}/usr/lib64 ]; then