- Fix build by add a patch which forgot in previous commit

while here add USES=dos2unix

Submitted by:	Yuri Victorovich<yuri@rawbw.com>(maintainer, via email)
This commit is contained in:
Wen Heping 2017-01-01 13:23:25 +00:00
parent ff5a7e7af6
commit 645c111a1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430252
3 changed files with 14 additions and 2 deletions

View file

@ -22,7 +22,7 @@ RUN_DEPENDS= isympy:math/py-sympy \
LIB_DEPENDS= libembree.so:graphics/embree \
libomp.so:devel/openmp
USES= localbase python
USES= dos2unix localbase python
USE_PYTHON= autoplist distutils
post-patch:

View file

@ -1,4 +1,4 @@
--- yt/extern/tqdm/_utils.py.orig 2016-10-25 16:08:30 UTC
--- yt/extern/tqdm/_utils.py.orig 2017-01-01 20:57:19 UTC
+++ yt/extern/tqdm/_utils.py
@@ -40,7 +40,7 @@ def _environ_cols_wrapper(): # pragma:
_environ_cols = _environ_cols_windows
@ -8,3 +8,4 @@
+ if current_os in ['FreeBSD', 'Linux', 'Darwin'] or current_os.startswith('CYGWIN'):
_environ_cols = _environ_cols_linux
return _environ_cols

View file

@ -0,0 +1,11 @@
--- yt/utilities/lib/platform_dep.h.orig 2017-01-01 20:57:35 UTC
+++ yt/utilities/lib/platform_dep.h
@@ -57,7 +57,7 @@ double erf(double x)
#else
#include <stdint.h>
-#include "alloca.h"
+#include <stdlib.h>
#include <math.h>
#endif