summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTact Yoshida <otakuto.gentoo@gmail.com>2019-01-24 07:47:42 +0900
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-03 15:07:52 +0100
commita1df610ebe50765802b187a1e4dd3db60407370a (patch)
treebb81acc17986b5991ec41fa80a0adea50578fee6 /dev-util/cutter/files
parentx11-terms/lilyterm: drop old (diff)
downloadgentoo-a1df610ebe50765802b187a1e4dd3db60407370a.tar.gz
gentoo-a1df610ebe50765802b187a1e4dd3db60407370a.tar.bz2
gentoo-a1df610ebe50765802b187a1e4dd3db60407370a.zip
dev-util/cutter: version bump to 1.7.4.
Signed-off-by: Tact Yoshida <otakuto.gentoo@gmail.com> Package-Manager: Portage-2.3.52, Repoman-2.3.12 Closes: https://github.com/gentoo/gentoo/pull/10900 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/cutter/files')
-rw-r--r--dev-util/cutter/files/cutter-1.7.4-python3-config.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/cutter/files/cutter-1.7.4-python3-config.patch b/dev-util/cutter/files/cutter-1.7.4-python3-config.patch
new file mode 100644
index 000000000000..51a811dbb33f
--- /dev/null
+++ b/dev-util/cutter/files/cutter-1.7.4-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
+ }
+ }
+