[Python-modules-commits] r24308 - in packages/scipy/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Sat May 11 19:24:59 UTC 2013
Date: Saturday, May 11, 2013 @ 19:24:57
Author: jtaylor-guest
Revision: 24308
enable large file support in qhull
Added:
packages/scipy/trunk/debian/patches/qhull-lfs.patch
Modified:
packages/scipy/trunk/debian/changelog
packages/scipy/trunk/debian/patches/series
Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog 2013-05-11 19:24:53 UTC (rev 24307)
+++ packages/scipy/trunk/debian/changelog 2013-05-11 19:24:57 UTC (rev 24308)
@@ -10,6 +10,7 @@
* add-swig-filetypes.patch, reswig.patch:
reswigging from setup.py, dropped from debian/rules
* cython-wraparound.patch: fix issue in ckdtree.pyx
+ * qhull-lfs.patch: enable large file support
* refresh patches and remove upstream applied:
- BUG-fix-dependency-on-dict-ordering-in-test.patch
- BUG-remove-inline-statement-rejected-by-cython.patch
Added: packages/scipy/trunk/debian/patches/qhull-lfs.patch
===================================================================
--- packages/scipy/trunk/debian/patches/qhull-lfs.patch (rev 0)
+++ packages/scipy/trunk/debian/patches/qhull-lfs.patch 2013-05-11 19:24:57 UTC (rev 24308)
@@ -0,0 +1,18 @@
+Description: enable large file support
+ probably not needed as the file open api of qhull is not available in python
+Author: Julian Taylor <jtaylor.debian at googlemail.com>
+Forwarded: no
+
+--- a/scipy/spatial/setup.py
++++ b/scipy/spatial/setup.py
+@@ -29,6 +29,9 @@ def configuration(parent_package='', top_path=None):
+ cfg = dict(get_info('lapack_opt'))
+ cfg.setdefault('include_dirs', []).extend(inc_dirs)
+ cfg.setdefault('define_macros', []).append(('qh_QHpointer','1'))
++ 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'))
+ config.add_extension('qhull',
+ sources=['qhull.c'] + qhull_src,
+ **cfg)
+
Modified: packages/scipy/trunk/debian/patches/series
===================================================================
--- packages/scipy/trunk/debian/patches/series 2013-05-11 19:24:53 UTC (rev 24307)
+++ packages/scipy/trunk/debian/patches/series 2013-05-11 19:24:57 UTC (rev 24308)
@@ -3,3 +3,4 @@
add-swig-filetypes.patch
reswig.patch
cython-wraparound.patch
+qhull-lfs.patch
More information about the Python-modules-commits
mailing list