ledger: fix build with gcc6
This commit is contained in:
parent
54542abedf
commit
86210a3f20
|
@ -0,0 +1,11 @@
|
|||
--- src/item.h.orig
|
||||
+++ src/item.h
|
||||
@@ -92,7 +92,7 @@ class item_t : public supports_flags<uint_least16_t>, public scope_t
|
||||
|
||||
typedef std::pair<optional<value_t>, bool> tag_data_t;
|
||||
typedef std::map<string, tag_data_t,
|
||||
- function<bool(string, string)> > string_map;
|
||||
+ std::function<bool(string, string)> > string_map;
|
||||
|
||||
state_t _state;
|
||||
optional<date_t> _date;
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue