diff options
| author | Martin Owens <doctormo@gmail.com> | 2017-01-01 01:34:43 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2017-01-01 01:34:43 +0000 |
| commit | 88c2ac326c8dffa7ab9497c2d5526e82a319548d (patch) | |
| tree | d69cc060ec7017183c5bf66ecbe916ccb74d383e /packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff | |
| parent | ruler: Read state flags for GtkStyleContext correctly (diff) | |
| parent | Remove MacOSX packaging and make space for future 0.93 osx packagers. (diff) | |
| download | inkscape-88c2ac326c8dffa7ab9497c2d5526e82a319548d.tar.gz inkscape-88c2ac326c8dffa7ab9497c2d5526e82a319548d.zip | |
Merge in package removal branch
(bzr r15381)
Diffstat (limited to 'packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff')
| -rw-r--r-- | packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff b/packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff deleted file mode 100644 index 04e3cdd7a..000000000 --- a/packaging/macosx/ports/python/py25-numpy/files/patch-setup.py.diff +++ /dev/null @@ -1,34 +0,0 @@ ---- numpy/core/setup.py.orig 2009-04-05 04:09:20.000000000 -0400 -+++ numpy/core/setup.py 2009-04-08 19:53:45.000000000 -0400 -@@ -309,7 +309,14 @@ - if isinstance(d,str): - target_f.write('#define %s\n' % (d)) - else: -- target_f.write('#define %s %s\n' % (d[0],d[1])) -+ if d[0]!='SIZEOF_LONG' and d[0]!='SIZEOF_PY_INTPTR_T': -+ target_f.write('#define %s %s\n' % (d[0],d[1])) -+ else: -+ target_f.write('#ifdef __LP64__\n') -+ target_f.write('#define %s %s\n' % (d[0],8)) -+ target_f.write('#else\n') -+ target_f.write('#define %s %s\n' % (d[0],4)) -+ target_f.write('#endif\n') - - # define inline to our keyword, or nothing - target_f.write('#ifndef __cplusplus\n') -@@ -393,7 +393,14 @@ - if isinstance(d,str): - target_f.write('#define %s\n' % (d)) - else: -- target_f.write('#define %s %s\n' % (d[0],d[1])) -+ if d[0]!='NPY_SIZEOF_LONG' and d[0]!='NPY_SIZEOF_PY_INTPTR_T': -+ target_f.write('#define %s %s\n' % (d[0],d[1])) -+ else: -+ target_f.write('#ifdef __LP64__\n') -+ target_f.write('#define %s %s\n' % (d[0],8)) -+ target_f.write('#else\n') -+ target_f.write('#define %s %s\n' % (d[0],4)) -+ target_f.write('#endif\n') - - # define NPY_INLINE to recognized keyword - target_f.write('#define NPY_INLINE %s\n' % inline) |
