pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bullet const global objects are not valid when u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ad047785205
branches:  trunk
changeset: 610195:8ad047785205
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Oct 20 22:07:40 2012 +0000

description:
const global objects are not valid when using non-defaulted
constructors.

diffstat:

 devel/bullet/distinfo                                               |   3 +-
 devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h |  13 ++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r df8569c219d2 -r 8ad047785205 devel/bullet/distinfo
--- a/devel/bullet/distinfo     Sat Oct 20 22:06:55 2012 +0000
+++ b/devel/bullet/distinfo     Sat Oct 20 22:07:40 2012 +0000
@@ -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 -r df8569c219d2 -r 8ad047785205 devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bullet/patches/patch-src_BulletSoftBody_btSoftBodyInternals.h       Sat Oct 20 22:07:40 2012 +0000
@@ -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;
+ }
+ //



Home | Main Index | Thread Index | Old Index