mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 22:58:38 +01:00
7cf09e3ec4
Bump version and overwrite patches from master, since those were refreshed (at some point). I got an email notification about some CVEs for branch 17.01, so I decided to update Python. Technically, one seems to be for SolidWorks from what I can tell, but upgrading should be easy. ``` Hello Alexandru Ardelean, The package python is vulnerable to the following CVEs: CVE-2014-4616 https://nvd.nist.gov/vuln/detail/CVE-2014-4616 CVE-2017-100015 https://nvd.nist.gov/vuln/detail/CVE-2017-100015 Please consider updating or patching the package. ``` Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
13 lines
603 B
Diff
13 lines
603 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -497,7 +497,8 @@ class PyBuildExt(build_ext):
|
|
add_dir_to_list(dir_list, directory)
|
|
|
|
if os.path.normpath(sys.prefix) != '/usr' \
|
|
- and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
|
|
+ and not sysconfig.get_config_var('PYTHONFRAMEWORK') \
|
|
+ and not cross_compiling:
|
|
# OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
|
|
# (PYTHONFRAMEWORK is set) to avoid # linking problems when
|
|
# building a framework with different architectures than
|