summarylogtreecommitdiffstats
path: root/issue51.patch
diff options
context:
space:
mode:
authorChih-Hsuan Yen2018-06-18 22:00:21 +0800
committerChih-Hsuan Yen2018-06-18 22:00:21 +0800
commit6470636573e3dc464edfdfe00a8ae1a2b037ed4d (patch)
tree6b1f1727a81684db907ba6ee692327cfb037dc51 /issue51.patch
parent25f1262373e125cdd631f4bfd570f0a86c272571 (diff)
downloadaur-6470636573e3dc464edfdfe00a8ae1a2b037ed4d.tar.gz
add a patch to fix compiling with GCC 8
Ref: https://github.com/darlinghq/darling-dmg/issues/51
Diffstat (limited to 'issue51.patch')
-rw-r--r--issue51.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/issue51.patch b/issue51.patch
new file mode 100644
index 000000000000..e2040d9a8a38
--- /dev/null
+++ b/issue51.patch
@@ -0,0 +1,16 @@
+diff --git a/src/HFSBTreeNode.h b/src/HFSBTreeNode.h
+index 0a98378..029f60a 100644
+--- a/src/HFSBTreeNode.h
++++ b/src/HFSBTreeNode.h
+@@ -129,6 +129,11 @@ public:
+ m_index++;
+ return *this;
+ }
++ RecordIterator& operator--()
++ {
++ m_index--;
++ return *this;
++ }
+
+ difference_type operator-(const RecordIterator& that)
+ {