diff options
author | root <root@rshg054.dnsready.net> | 2013-06-29 01:17:51 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-29 01:17:51 -0700 |
commit | 8421e68301cd00265bc8db838e69254316c7133a (patch) | |
tree | af089edb7cb6846d1fcb4ffc98d3e4f38ea18345 /community/newton-dynamics | |
parent | 0a66b29837912ffee94e074fc35ba46896a96f2a (diff) |
Sat Jun 29 01:17:51 PDT 2013
Diffstat (limited to 'community/newton-dynamics')
-rw-r--r-- | community/newton-dynamics/PKGBUILD | 46 | ||||
-rw-r--r-- | community/newton-dynamics/assert-fix.patch | 13 |
2 files changed, 0 insertions, 59 deletions
diff --git a/community/newton-dynamics/PKGBUILD b/community/newton-dynamics/PKGBUILD deleted file mode 100644 index defe9db75..000000000 --- a/community/newton-dynamics/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Josh Taylor (deficite) <joshtaylor.mail@gmail.com> -# Contributor: Christophe Robin (bombstrike) <crobin@php.net> -pkgname=newton-dynamics -pkgver=2.33 -pkgrel=2 -pkgdesc="A simple physics API" -arch=('i686' 'x86_64') -url="http://www.newtondynamics.com" -license=('custom') -depends=() -makedepends=('unrar') -source=("http://newton-dynamics.googlecode.com/files/newton-dynamics-${pkgver}.rar" - 'assert-fix.patch') -md5sums=('b8394c7c3f4e8a1bd41ffa07c5979a9e' - 'fa747c99d0516d66f03175fca1f1ba34') - -build() { - _srcdir="${srcdir}/newton-dynamics-${pkgver}" - [ "$CARCH" = "i686" ] && platform="linux32" - [ "$CARCH" = "x86_64" ] && platform="linux64" - builddir="${_srcdir}/coreLibrary_200/projets/${platform}" - - # clean build directory - [ -d "${_srcdir}" ] && rm -Rf "${_srcdir}" - - # decompress package - cd "${srcdir}" - unrar x "newton-dynamics-${pkgver}.rar" - - # needed for building - mkdir -p "${_srcdir}/packages/${platform}" - - # patch issue with an _ASSERT call instead of _ASSERTE - cd "${_srcdir}/coreLibrary_200" - patch -p0 < "${srcdir}/assert-fix.patch" - - ## build lib - cd "${builddir}" - sed -i 's/ -o libNewton.so/ -lpthread -lstdc++ -o libNewton.so/' makefile - make - - install -D -m644 "${builddir}/libNewton.a" "${pkgdir}/usr/lib/libNewton.a" - install -D -m755 "${builddir}/libNewton.so" "${pkgdir}/usr/lib/libNewton.so" - install -D -m644 "${_srcdir}/coreLibrary_200/source/newton/Newton.h" "${pkgdir}/usr/include/Newton.h" -} diff --git a/community/newton-dynamics/assert-fix.patch b/community/newton-dynamics/assert-fix.patch deleted file mode 100644 index 83dfdd790..000000000 --- a/community/newton-dynamics/assert-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: source/core/dgTypes.cpp -=================================================================== ---- source/core/dgTypes.cpp (revision 506) -+++ source/core/dgTypes.cpp (working copy) -@@ -515,7 +515,7 @@ - return 0;
- }
- _ASSERTE (compareCount <= dgInt32 (strideInBytes / sizeof (dgFloat64)));
-- _ASSERT (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
-+ _ASSERTE (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
-
- dgInt32 stride = strideInBytes / dgInt32 (sizeof (dgFloat64));
- dgInt32 stride2 = stride + 2;
|