summaryrefslogtreecommitdiff
path: root/finance/ledger/patches/patch-src_system.hh.in
diff options
context:
space:
mode:
authorriastradh <riastradh>2017-02-18 05:48:51 +0000
committerriastradh <riastradh>2017-02-18 05:48:51 +0000
commitd23bd513556bfc1cb222dd2cbf8195ac4609117d (patch)
tree355b677ad04e48ba3aa0ca3ae6178dafbc7142e8 /finance/ledger/patches/patch-src_system.hh.in
parent1ee68cd92e12c976fce52736605cf8b71df2847a (diff)
downloadpkgsrc-d23bd513556bfc1cb222dd2cbf8195ac4609117d.tar.gz
Import ledger 3.1.1 from wip, with some tweaks as 3.1.1nb1.
- Fill text in DESCR. - Use lang/python/tool.mk explicitly. - Add options.mk for python option. (Other extensions TBD.) - Patch a misuse of editline.
Diffstat (limited to 'finance/ledger/patches/patch-src_system.hh.in')
-rw-r--r--finance/ledger/patches/patch-src_system.hh.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/finance/ledger/patches/patch-src_system.hh.in b/finance/ledger/patches/patch-src_system.hh.in
new file mode 100644
index 00000000000..aec1b615cd6
--- /dev/null
+++ b/finance/ledger/patches/patch-src_system.hh.in
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_system.hh.in,v 1.1 2017/02/18 05:48:52 riastradh Exp $
+
+Canonicalize pkgsrc readline.h filename. This is seen both by
+consumers of devel/readline and by consumers of devel/editline, via
+buildlink3 magic. The only reason editline/readline.h may exist is to
+allow both devel/readline and devel/editline to coexist.
+
+--- src/system.hh.in.orig 2016-01-11 15:59:38.000000000 +0000
++++ src/system.hh.in
+@@ -168,7 +168,7 @@ typedef std::ostream::pos_type ostream_p
+ #include "utf8.h"
+
+ #if HAVE_EDIT
+-#include <editline/readline.h>
++#include <readline/readline.h>
+ #endif
+
+ #include <boost/algorithm/string.hpp>