summaryrefslogtreecommitdiff
path: root/textproc/diffmark/files/patch-lib__diff.hh
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/diffmark/files/patch-lib__diff.hh')
-rw-r--r--textproc/diffmark/files/patch-lib__diff.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/diffmark/files/patch-lib__diff.hh b/textproc/diffmark/files/patch-lib__diff.hh
new file mode 100644
index 000000000000..f9816aea47e9
--- /dev/null
+++ b/textproc/diffmark/files/patch-lib__diff.hh
@@ -0,0 +1,11 @@
+--- lib/diff.hh.orig 2013-12-07 05:09:56.000000000 +0900
++++ lib/diff.hh 2013-12-07 05:10:09.000000000 +0900
+@@ -13,7 +13,7 @@
+ template<>
+ struct less<xmlNodePtr>
+ {
+- bool operator()(xmlNodePtr m, xmlNodePtr n)
++ bool operator()(xmlNodePtr m, xmlNodePtr n) const
+ {
+ return compare(m, n, true) < 0;
+ }