From: Julian Taylor Date: Mon, 12 Oct 2015 22:17:23 +0000 (-0700) Subject: enable large file support X-Git-Tag: archive/raspbian/1.8.1-22+rpi1^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=70342f74e77bd217df5c0f3f038ff9f3c7f57520;p=scipy.git enable large file support probably not needed as the file open api of qhull is not available in python Forwarded: no Patch-Name: qhull-lfs.patch Gbp-Pq: Name qhull-lfs.patch --- diff --git a/scipy/spatial/setup.py b/scipy/spatial/setup.py index 29d5b960..2f6df035 100644 --- a/scipy/spatial/setup.py +++ b/scipy/spatial/setup.py @@ -53,6 +53,9 @@ def configuration(parent_package='', top_path=None): config.add_extension('_qhull', sources=['_qhull.c', 'qhull_misc.c'] + qhull_src, **cfg) + cfg.setdefault('define_macros', []).append(('_FILE_OFFSET_BITS','64')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE_SOURCE','1')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE64_SOURCE','1')) # cKDTree ckdtree_src = ['query.cxx',