svn commit: r430252 - in head/math/py-yt: . files

Wen Heping wen at FreeBSD.org
Sun Jan 1 13:23:27 UTC 2017


Author: wen
Date: Sun Jan  1 13:23:25 2017
New Revision: 430252
URL: https://svnweb.freebsd.org/changeset/ports/430252

Log:
  - Fix build by add a patch which forgot in previous commit
    while here add USES=dos2unix
  
  Submitted by:	Yuri Victorovich<yuri at rawbw.com>(maintainer, via email)

Added:
  head/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h   (contents, props changed)
Modified:
  head/math/py-yt/Makefile
  head/math/py-yt/files/patch-yt_extern_tqdm___utils.py

Modified: head/math/py-yt/Makefile
==============================================================================
--- head/math/py-yt/Makefile	Sun Jan  1 13:01:53 2017	(r430251)
+++ head/math/py-yt/Makefile	Sun Jan  1 13:23:25 2017	(r430252)
@@ -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:

Modified: head/math/py-yt/files/patch-yt_extern_tqdm___utils.py
==============================================================================
--- head/math/py-yt/files/patch-yt_extern_tqdm___utils.py	Sun Jan  1 13:01:53 2017	(r430251)
+++ head/math/py-yt/files/patch-yt_extern_tqdm___utils.py	Sun Jan  1 13:23:25 2017	(r430252)
@@ -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
+ 

Added: head/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h	Sun Jan  1 13:23:25 2017	(r430252)
@@ -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
+ 


More information about the svn-ports-head mailing list