dev-util/cutter: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13694
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2019-11-18 11:35:01 +01:00
committed by Aaron Bauman
parent 65be439d3c
commit 68b7082c8b

View File

@@ -1,31 +0,0 @@
diff -Naur cutter-1.8.0-orig/src/Cutter.pro cutter-1.8.0/src/Cutter.pro
--- cutter-1.8.0-orig/src/Cutter.pro 2019-03-27 12:14:42.436446303 -0400
+++ cutter-1.8.0/src/Cutter.pro 2019-03-27 12:16:26.971448895 -0400
@@ -118,10 +118,6 @@
# Libraries
include(lib_radare2.pri)
-!win32 {
- CONFIG += link_pkgconfig
-}
-
CUTTER_ENABLE_PYTHON {
win32 {
PYTHON_EXECUTABLE = $$system("where python", lines)
@@ -140,10 +136,13 @@
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) {
+ 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
}
}