summaryrefslogtreecommitdiff
path: root/finance/ledger/patches/patch-src_system.hh.in
diff options
context:
space:
mode:
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>