diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 16:52:02 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 16:52:02 +0200 |
commit | f09b0ce404160d570380506fe314f326a9412d33 (patch) | |
tree | 58af4f0f590f06550fd98b01ff5e3de624329b38 /dev-python/imaging/files/imaging-1.1.7-missing-math.patch | |
parent | 2ef47d494f82c5e68de1edc169d3ad66a6b3831b (diff) |
Safe keeping the package dev-python/imaging
Diffstat (limited to 'dev-python/imaging/files/imaging-1.1.7-missing-math.patch')
-rw-r--r-- | dev-python/imaging/files/imaging-1.1.7-missing-math.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/imaging/files/imaging-1.1.7-missing-math.patch b/dev-python/imaging/files/imaging-1.1.7-missing-math.patch new file mode 100644 index 00000000..f4d6167e --- /dev/null +++ b/dev-python/imaging/files/imaging-1.1.7-missing-math.patch @@ -0,0 +1,20 @@ +--- setup.py.old 2009-07-03 11:34:59.141671252 +0200 ++++ setup.py 2009-07-03 11:51:54.415666711 +0200 +@@ -281,6 +281,8 @@ class pil_build_ext(build_ext): + if struct.unpack("h", "\0\1")[0] == 1: + defs.append(("WORDS_BIGENDIAN", None)) + ++ libs.append("m") ++ + exts = [(Extension( + "_imaging", files, libraries=libs, define_macros=defs + ))] +@@ -332,7 +334,7 @@ class pil_build_ext(build_ext): + )) + + if os.path.isfile("_imagingmath.c"): +- exts.append(Extension("_imagingmath", ["_imagingmath.c"])) ++ exts.append(Extension("_imagingmath", ["_imagingmath.c"], libraries=["m"])) + + self.extensions[:] = exts + |