diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-07-26 22:58:03 -0400 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-07-26 22:58:54 -0400 |
commit | 1849bbe7d01f7bc9fb0fa115d5d63deaebb23c33 (patch) | |
tree | db84dc9272263e16985dbba39be1ca5caabfc477 /dev-python/pillow/files | |
parent | dev-python/pillow: Add support for Python 3.7 (diff) | |
download | gentoo-1849bbe7d01f7bc9fb0fa115d5d63deaebb23c33.tar.gz gentoo-1849bbe7d01f7bc9fb0fa115d5d63deaebb23c33.tar.bz2 gentoo-1849bbe7d01f7bc9fb0fa115d5d63deaebb23c33.zip |
dev-python/pillow: fix link warnings
Apply patch to remove spurious /usr/lib prepend to linking flags that
generates linking warnings in certain situations.
Reported-By: Alexander Tsoy
Closes: https://bugs.gentoo.org/661830
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-python/pillow/files')
-rw-r--r-- | dev-python/pillow/files/pillow-5.2.0-no-usr-lib.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pillow/files/pillow-5.2.0-no-usr-lib.patch b/dev-python/pillow/files/pillow-5.2.0-no-usr-lib.patch new file mode 100644 index 000000000000..4b6cc50eaf5e --- /dev/null +++ b/dev-python/pillow/files/pillow-5.2.0-no-usr-lib.patch @@ -0,0 +1,12 @@ +--- a/setup.py 2018-07-22 22:09:23.840195059 +0300 ++++ a/setup.py 2018-07-22 22:11:43.400626135 +0300 +@@ -258,9 +258,8 @@ + _add_directory(library_dirs, d) + + prefix = sysconfig.get_config_var("prefix") + if prefix: +- _add_directory(library_dirs, os.path.join(prefix, "lib")) + _add_directory(include_dirs, os.path.join(prefix, "include")) + + # + # add platform directories |