From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- .../files/cutter-1.10.3-python3-config.patch | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 dev-util/cutter/files/cutter-1.10.3-python3-config.patch (limited to 'dev-util/cutter/files/cutter-1.10.3-python3-config.patch') diff --git a/dev-util/cutter/files/cutter-1.10.3-python3-config.patch b/dev-util/cutter/files/cutter-1.10.3-python3-config.patch deleted file mode 100644 index f024ba26df03..000000000000 --- a/dev-util/cutter/files/cutter-1.10.3-python3-config.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/src/Cutter.pro b/src/Cutter.pro -index 5ea3a78..d99b4a5 100644 ---- a/src/Cutter.pro -+++ b/src/Cutter.pro -@@ -115,10 +115,6 @@ unix { - # Libraries - include(lib_radare2.pri) - --!win32 { -- CONFIG += link_pkgconfig --} -- - CUTTER_ENABLE_PYTHON { - win32 { - PYTHON_EXECUTABLE = $$system("where python", lines) -@@ -135,10 +131,17 @@ CUTTER_ENABLE_PYTHON { - LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python - DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED - } else { -- !packagesExist(python3) { -- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") -+ system(type python3-config) { -+ TMP = $$system(python3-config --libs --embed, true, TMPSTATUS) -+ !equals(TMPSTATUS, 0) { -+ TMP = $$system(python3-config --libs) -+ } -+ LIBS += $$TMP -+ 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 - } - } - -- cgit v1.2.3