diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-mail/mailman/files | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-mail/mailman/files')
-rw-r--r-- | net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff b/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff new file mode 100644 index 000000000000..f095938ff42a --- /dev/null +++ b/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff @@ -0,0 +1,20 @@ +--- misc/paths.py.in 2018-06-17 23:47:34 +0000 ++++ misc/paths.py.in 2019-08-16 15:18:03 +0000 +@@ -67,6 +67,16 @@ + 'dist-packages') + sys.path.append(distdir) + ++# Some distros may have the python library in a directory other than lib/ ++# such as Lib/ or lib64/. Hopefully they will have hacked ++# site.getsitepackages() to return the right thing. ++try: ++ import site ++ sys.path.extend(site.getsitepackages()) ++ del site ++except (ImportError, AttributeError): ++ pass ++ + + # In a normal interactive Python environment, the japanese.pth and korean.pth + # files would be imported automatically. But because we inhibit the importing + |