summaryrefslogtreecommitdiff
path: root/devel/bullet
diff options
context:
space:
mode:
authorjoerg <joerg>2012-10-20 22:07:40 +0000
committerjoerg <joerg>2012-10-20 22:07:40 +0000
commit81c32770aee6a9d33be717e30938d22d58ebbcf2 (patch)
tree39af7e1f8c82fe4dcd925b1ab7d251b177b12de6 /devel/bullet
parentc815fe26f44fc52737bd3d7eaaedb65102dce53a (diff)
downloadpkgsrc-81c32770aee6a9d33be717e30938d22d58ebbcf2.tar.gz
const global objects are not valid when using non-defaulted
constructors.
Diffstat (limited to 'devel/bullet')
-rw-r--r--devel/bullet/distinfo3
-rw-r--r--devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/bullet/distinfo b/devel/bullet/distinfo
index a1573ed029a..705de8673ac 100644
--- a/devel/bullet/distinfo
+++ b/devel/bullet/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/09/03 23:01:47 wiz Exp $
+$NetBSD: distinfo,v 1.2 2012/10/20 22:07:40 joerg Exp $
SHA1 (bullet-2.76.tgz) = 95043d586001387eab50cd773f4082e1a0d6f1b0
RMD160 (bullet-2.76.tgz) = 2024f8674791e596dd6b605000dad8052a796eed
Size (bullet-2.76.tgz) = 6193578 bytes
SHA1 (patch-aa) = de9d5ce6e67c8e5a4a2efa5c67e48bbb790d54ce
+SHA1 (patch-src_BulletSoftBody_btSoftBodyInternals.h) = 00b5a8b56f17239d90e9411932a4e6f1ac5ee443
diff --git a/devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h b/devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h
new file mode 100644
index 00000000000..27afa1890d1
--- /dev/null
+++ b/devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_BulletSoftBody_btSoftBodyInternals.h,v 1.1 2012/10/20 22:07:40 joerg Exp $
+
+--- src/BulletSoftBody/btSoftBodyInternals.h.orig 2012-10-20 12:13:07.000000000 +0000
++++ src/BulletSoftBody/btSoftBodyInternals.h
+@@ -172,7 +172,7 @@ public:
+ template <typename T>
+ static inline void ZeroInitialize(T& value)
+ {
+- static const T zerodummy;
++ static T zerodummy;
+ value=zerodummy;
+ }
+ //