diff options
author | Tact Yoshida <otakuto.gentoo@gmail.com> | 2018-07-17 08:13:28 +0900 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2018-07-17 17:06:48 +0100 |
commit | 8b13e9ccaa02b2bae9ab69f0129cc98e3f420946 (patch) | |
tree | 53f71321cdafbfcefe5b2f1fe74f6d7dafd1c045 /dev-util/cutter/files | |
parent | dev-ruby/facter: 3.11.3 bup (diff) | |
download | gentoo-8b13e9ccaa02b2bae9ab69f0129cc98e3f420946.tar.gz gentoo-8b13e9ccaa02b2bae9ab69f0129cc98e3f420946.tar.bz2 gentoo-8b13e9ccaa02b2bae9ab69f0129cc98e3f420946.zip |
dev-util/cutter: bump to 1.6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9257
Diffstat (limited to 'dev-util/cutter/files')
-rw-r--r-- | dev-util/cutter/files/cutter-1.6-python3-config.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/cutter/files/cutter-1.6-python3-config.patch b/dev-util/cutter/files/cutter-1.6-python3-config.patch new file mode 100644 index 000000000000..51a811dbb33f --- /dev/null +++ b/dev-util/cutter/files/cutter-1.6-python3-config.patch @@ -0,0 +1,20 @@ +--- a/src/Cutter.pro 2018-04-24 17:43:11.000000000 +0900 ++++ b/src/Cutter.pro 2018-07-08 21:21:34.280748499 +0900 +@@ -74,11 +74,13 @@ + LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python + DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED + } else { +- CONFIG += link_pkgconfig +- !packagesExist(python3) { +- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") ++ system(type python3-config) { ++ LIBS += $$system(python3-config --libs) ++ TMP = $$system(python3-config --includes) ++ INCLUDEPATH += $$replace(TMP, "-I", "") ++ } else { ++ error("ERROR: Python 3 could not be found. Make sure it is available to python3-config.") + } +- PKGCONFIG += python3 + } + } + |