From: Julian Taylor Date: Mon, 12 Oct 2015 22:17:23 +0000 (-0700) Subject: enable large file support X-Git-Tag: archive/raspbian/1.10.1-6+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b815c817d03493f0dfd38ee627c48cd4d52100c1;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 1dfa8179..49d0ac53 100644 --- a/scipy/spatial/setup.py +++ b/scipy/spatial/setup.py @@ -52,6 +52,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',