summaryrefslogtreecommitdiff
path: root/archivers/p7zip/patches
diff options
context:
space:
mode:
authoradam <adam>2011-02-04 21:08:17 +0000
committeradam <adam>2011-02-04 21:08:17 +0000
commitdf8e02fdd87f7a2dd52f3ec70fe5530cc596c0ce (patch)
tree3abc0cf2901e2a6da87d937e486b579276da35d7 /archivers/p7zip/patches
parentf52884d3a94e48f912fac388640d4b3ee19a44b9 (diff)
downloadpkgsrc-df8e02fdd87f7a2dd52f3ec70fe5530cc596c0ce.tar.gz
Fix building with Clang
Diffstat (limited to 'archivers/p7zip/patches')
-rw-r--r--archivers/p7zip/patches/patch-CPP_Common_DynamicBuffer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/p7zip/patches/patch-CPP_Common_DynamicBuffer.h b/archivers/p7zip/patches/patch-CPP_Common_DynamicBuffer.h
new file mode 100644
index 00000000000..f0261018494
--- /dev/null
+++ b/archivers/p7zip/patches/patch-CPP_Common_DynamicBuffer.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-CPP_Common_DynamicBuffer.h,v 1.1 2011/02/04 21:08:21 adam Exp $
+
+--- work/p7zip_9.13//CPP/Common/DynamicBuffer.h.orig 2011-02-04 21:00:13.000000000 +0000
++++ work/p7zip_9.13//CPP/Common/DynamicBuffer.h
+@@ -17,7 +17,7 @@ template <class T> class CDynamicBuffer:
+ else
+ delta = 4;
+ delta = MyMax(delta, size);
+- SetCapacity(this->_capacity + delta);
++ this->SetCapacity(this->_capacity + delta);
+ }
+ public:
+ CDynamicBuffer(): CBuffer<T>() {};