pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/ledger



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Mar 14 13:59:52 UTC 2018

Modified Files:
        pkgsrc/finance/ledger: distinfo
Added Files:
        pkgsrc/finance/ledger/patches: patch-src_item.h

Log Message:
ledger: Fix build with gcc-6.

>From upstream via Roberto Oliveira.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/ledger/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/ledger/patches/patch-src_item.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/ledger/distinfo
diff -u pkgsrc/finance/ledger/distinfo:1.1 pkgsrc/finance/ledger/distinfo:1.2
--- pkgsrc/finance/ledger/distinfo:1.1  Sat Feb 18 05:48:51 2017
+++ pkgsrc/finance/ledger/distinfo      Wed Mar 14 13:59:52 2018
@@ -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

Added files:

Index: pkgsrc/finance/ledger/patches/patch-src_item.h
diff -u /dev/null pkgsrc/finance/ledger/patches/patch-src_item.h:1.1
--- /dev/null   Wed Mar 14 13:59:52 2018
+++ pkgsrc/finance/ledger/patches/patch-src_item.h      Wed Mar 14 13:59:52 2018
@@ -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;



Home | Main Index | Thread Index | Old Index