summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam>2011-02-04 21:08:17 +0000
committeradam <adam>2011-02-04 21:08:17 +0000
commit19f79c616c145e70cd86b989966b9494a865c319 (patch)
tree3abc0cf2901e2a6da87d937e486b579276da35d7 /archivers
parent3415e935b75103de4be7e96a63f87d4b94d1bb50 (diff)
downloadpkgsrc-19f79c616c145e70cd86b989966b9494a865c319.tar.gz
Fix building with Clang
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p7zip/distinfo3
-rw-r--r--archivers/p7zip/patches/patch-CPP_Common_DynamicBuffer.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo
index f54ad6ce814..1843e4a084e 100644
--- a/archivers/p7zip/distinfo
+++ b/archivers/p7zip/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.36 2010/06/16 08:30:09 adam Exp $
+$NetBSD: distinfo,v 1.37 2011/02/04 21:08:17 adam Exp $
SHA1 (p7zip_9.13_src_all.tar.bz2) = 81da0729561ce123c0a82656ec96a04ad5bfa522
RMD160 (p7zip_9.13_src_all.tar.bz2) = beb9181330f4dfa75aa4f473c68a462c76b7ab19
Size (p7zip_9.13_src_all.tar.bz2) = 3753579 bytes
+SHA1 (patch-CPP_Common_DynamicBuffer.h) = c4a5eee3ddc0c9b44dec607a4e6cb3b6d59391bc
SHA1 (patch-aa) = 6df31ad2f391b7f1b5220f05ff0142ee258a92e7
SHA1 (patch-ab) = fedaf15990d9c01bdefcd2a0bd9a740f965247b0
SHA1 (patch-ac) = f5f0acd488a7c524b692b5660042baa79f9937ce
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>() {};