[oe-commits] org.oe.dev numptyphysics: add patch to build it with gcc 4.3

koen commit oe at amethyst.openembedded.net
Mon Sep 1 18:00:15 UTC 2008


numptyphysics: add patch to build it with gcc 4.3

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 2de39a1fc0dbecfeabc8a5e1a2bd2410d4156bbb
ViewMTN: http://monotone.openembedded.org/revision/info/2de39a1fc0dbecfeabc8a5e1a2bd2410d4156bbb
Files:
1
packages/numptyphysics/numptyphysics
packages/numptyphysics/numptyphysics/gcc43.diff
packages/numptyphysics/numptyphysics_svn.bb
Diffs:

#
# mt diff -rdab8eecee692b058ff30893f1cd728b9cacd4304 -r2de39a1fc0dbecfeabc8a5e1a2bd2410d4156bbb
#
#
#
# add_dir "packages/numptyphysics/numptyphysics"
# 
# add_file "packages/numptyphysics/numptyphysics/gcc43.diff"
#  content [ba984fdfb4155882060212a6b0e3d0e833cbd012]
# 
# patch "packages/numptyphysics/numptyphysics_svn.bb"
#  from [7d54d90a484c851ac2db1767467704b1b6e32dd0]
#    to [137c37424d48bc5eb7b636299d6ee72e96ae3a09]
#
============================================================
--- packages/numptyphysics/numptyphysics/gcc43.diff	ba984fdfb4155882060212a6b0e3d0e833cbd012
+++ packages/numptyphysics/numptyphysics/gcc43.diff	ba984fdfb4155882060212a6b0e3d0e833cbd012
@@ -0,0 +1,50 @@
+--- /tmp/Common.h	2008-08-08 15:47:57.000000000 +0200
++++ trunk/Common.h	2008-08-08 15:48:08.403198000 +0200
+@@ -14,6 +14,7 @@
+  *
+  */
+ 
++#include <cstring>
+ #ifndef COMMON_H
+ #define COMMON_H
+ 
+--- /tmp/b2Body.h	2008-08-08 15:51:13.000000000 +0200
++++ trunk/Box2D/Source/Dynamics/b2Body.h	2008-08-08 15:52:26.583198000 +0200
+@@ -24,6 +24,7 @@
+ #include "../Collision/b2Shape.h"
+ 
+ #include <memory>
++#include <cstring>
+ 
+ class b2Joint;
+ class b2Contact;
+--- /tmp/b2BroadPhase.cpp	2008-08-08 15:53:43.000000000 +0200
++++ trunk/Box2D/Source/Collision/b2BroadPhase.cpp	2008-08-08 15:54:04.913198000 +0200
+@@ -18,6 +18,7 @@
+ 
+ #include "b2BroadPhase.h"
+ #include <algorithm>
++#include <cstring>
+ 
+ // Notes:
+ // - we use bound arrays instead of linked lists for cache coherence.
+--- /tmp/b2PolyContact.cpp	2008-08-08 15:55:01.000000000 +0200
++++ trunk/Box2D/Source/Dynamics/Contacts/b2PolyContact.cpp	2008-08-08 15:56:15.553198000 +0200
+@@ -21,6 +21,7 @@
+ 
+ #include <memory>
+ #include <new>
++#include <cstring>
+ 
+ b2Contact* b2PolyContact::Create(b2Shape* shape1, b2Shape* shape2, b2BlockAllocator* allocator)
+ {
+--- /tmp/b2BlockAllocator.cpp	2008-08-08 15:57:02.000000000 +0200
++++ trunk/Box2D/Source/Common/b2BlockAllocator.cpp	2008-08-08 15:57:35.833198000 +0200
+@@ -20,6 +20,7 @@
+ #include <cstdlib>
+ #include <memory>
+ #include <climits>
++#include <cstring>
+ 
+ int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] = 
+ {
============================================================
--- packages/numptyphysics/numptyphysics_svn.bb	7d54d90a484c851ac2db1767467704b1b6e32dd0
+++ packages/numptyphysics/numptyphysics_svn.bb	137c37424d48bc5eb7b636299d6ee72e96ae3a09
@@ -9,6 +9,7 @@ SRC_URI = "\
 SRC_URI = "\
   svn://garage.maemo.org/svn/${PN};module=trunk;proto=https \
   http://wwwpub.zih.tu-dresden.de/~mkluge/numptyphysics_setup.tgz \
+  file://gcc43.diff;patch=1 \
 "
 S = "${WORKDIR}/trunk"
 






More information about the Openembedded-commits mailing list