summaryrefslogtreecommitdiffstats
path: root/app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch')
-rw-r--r--app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch b/app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch
new file mode 100644
index 0000000..7f16a3a
--- /dev/null
+++ b/app-arch/p7zip/files/p7zip_9.13-ds-dynbuf.patch
@@ -0,0 +1,12 @@
+diff -dPNur p7zip_9.13/CPP/Common/DynamicBuffer.h p7zip_9.13-ds/CPP/Common/DynamicBuffer.h
+--- p7zip_9.13/CPP/Common/DynamicBuffer.h 2008-08-25 21:40:32.000000000 +0200
++++ p7zip_9.13-ds/CPP/Common/DynamicBuffer.h 2013-07-14 01:31:24.000000000 +0200
+@@ -17,7 +17,7 @@
+ else
+ delta = 4;
+ delta = MyMax(delta, size);
+- SetCapacity(this->_capacity + delta);
++ this->SetCapacity(this->_capacity + delta);
+ }
+ public:
+ CDynamicBuffer(): CBuffer<T>() {};