diff options
author | wiz <wiz@pkgsrc.org> | 2018-03-14 13:59:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-03-14 13:59:52 +0000 |
commit | 673189e11244f47af8cd37153d4a993a165fd307 (patch) | |
tree | 3475d02cf83518f0040b9006b12cd2510bf123de /finance/ledger | |
parent | ba74e09cccfb2184709cc5a1eedcd52342385e1f (diff) | |
download | pkgsrc-673189e11244f47af8cd37153d4a993a165fd307.tar.gz |
ledger: Fix build with gcc-6.
From upstream via Roberto Oliveira.
Diffstat (limited to 'finance/ledger')
-rw-r--r-- | finance/ledger/distinfo | 3 | ||||
-rw-r--r-- | finance/ledger/patches/patch-src_item.h | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/finance/ledger/distinfo b/finance/ledger/distinfo index 1f5deebc901..1aa38929d41 100644 --- a/finance/ledger/distinfo +++ b/finance/ledger/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1 2017/02/18 05:48:51 riastradh Exp $ +$NetBSD: distinfo,v 1.2 2018/03/14 13:59:52 wiz Exp $ SHA1 (ledger-3.1.1.tar.gz) = 77ad24ce4947e2f130e58d8e8bc4c5b6920a0222 RMD160 (ledger-3.1.1.tar.gz) = 07645c8d798e386eb4ed0a5a9e3dcf6fe0a184f8 SHA512 (ledger-3.1.1.tar.gz) = 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 Size (ledger-3.1.1.tar.gz) = 842364 bytes +SHA1 (patch-src_item.h) = 994e1e87fdf7510bcac364fb554d2ec012ba84d3 SHA1 (patch-src_system.hh.in) = c9f5830aaf77681d93eedb78d06fa91f47a7b478 diff --git a/finance/ledger/patches/patch-src_item.h b/finance/ledger/patches/patch-src_item.h new file mode 100644 index 00000000000..f1a3099f058 --- /dev/null +++ b/finance/ledger/patches/patch-src_item.h @@ -0,0 +1,16 @@ +$NetBSD: patch-src_item.h,v 1.1 2018/03/14 13:59:52 wiz Exp $ + +Fix build with boost-1.61+ and gcc-6. +https://github.com/ledger/ledger/commit/258cab91ab702e82d477b41bb1c6a026c848bda5 + +--- src/item.h.orig 2016-01-11 15:59:38.000000000 +0000 ++++ src/item.h +@@ -92,7 +92,7 @@ public: + + 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; |