summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2016-09-25 20:12:36 +0200
committerMichel Zou2016-09-25 20:12:36 +0200
commitbce9909a0f16322baa5fa13997ad910a74704e00 (patch)
tree8267f71180c8290b5131012d122ddd0a3eb1f05d /PKGBUILD
parent00f1c39c7cc680e72cafebe535797d68833ac706 (diff)
downloadaur-bce9909a0f16322baa5fa13997ad910a74704e00.tar.gz
gcc6 fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f8673009a6..2d0fdee6047 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,10 +13,8 @@ md5sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- #sed -i "s|print sysconfig.get_python_lib(1,0,prefix='\${CMAKE_INSTALL_PREFIX}')|print(sysconfig.get_python_lib(1,0,prefix='\${CMAKE_INSTALL_PREFIX}'))|g" wrappers/pyAgrum/CMakeLists.txt
-
- # see 6b89d669e8f5086f4de6ad8a4e34385080073b26
- #sed -i "s|<< traceFileName <<|<< traceFileName.str() <<|g" src/agrum/FMDP/planning/SPUDDPlanning.tcc
+ sed -i "49i#include <cmath>" src/agrum/core/math/chi2.cpp
+ sed -i "36,40d" wrappers/pyAgrum/CMakeLists.txt
}
build() {