summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-30 13:25:44 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-02-05 22:27:41 +0100
commit85bcfc5f606a51b55ce6844e42feb69ba24273bb (patch)
tree519f34519b15fa89b5ef6fc6dd5c412f871d5e5c /dev-db/pgadmin4/files
parentdev-python/python-sqlparse: python3_8 (diff)
downloadgentoo-85bcfc5f606a51b55ce6844e42feb69ba24273bb.tar.gz
gentoo-85bcfc5f606a51b55ce6844e42feb69ba24273bb.tar.bz2
gentoo-85bcfc5f606a51b55ce6844e42feb69ba24273bb.zip
dev-db/pgadmin4: 4.17 version bump, python3_8
Patch taken from Arch, thanks. Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-db/pgadmin4/files')
-rw-r--r--dev-db/pgadmin4/files/pgadmin4-4.17-python-3.8.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/pgadmin4/files/pgadmin4-4.17-python-3.8.patch b/dev-db/pgadmin4/files/pgadmin4-4.17-python-3.8.patch
new file mode 100644
index 000000000000..fbf2f7be4a9b
--- /dev/null
+++ b/dev-db/pgadmin4/files/pgadmin4-4.17-python-3.8.patch
@@ -0,0 +1,12 @@
+diff -uprb pgadmin4-4.13.orig/runtime/pgAdmin4.pro pgadmin4-4.13/runtime/pgAdmin4.pro
+--- a/runtime/pgAdmin4.pro 2019-10-16 10:07:59.000000000 +0300
++++ b/runtime/pgAdmin4.pro 2019-11-05 18:33:18.524516120 +0200
+@@ -75,7 +75,7 @@ else {
+
+ QMAKE_CXXFLAGS += $$system($$PYTHON_CONFIG --includes)
+ QMAKE_LFLAGS += $$system($$PYTHON_CONFIG --ldflags)
+- LIBS += $$system($$PYTHON_CONFIG --libs)
++ LIBS += $$system(PYTHON_LIBS=`$$PYTHON_CONFIG --libs --embed` || PYTHON_LIBS=`$$PYTHON_CONFIG --libs`; echo $PYTHON_LIBS)
+
+ contains( LIBS, -lpython2.* ) {
+ DEFINES += PYTHON2