summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-06 12:22:46 +0200
committerJeroen Roovers <jer@gentoo.org>2018-10-06 12:25:09 +0200
commita0a6dcbe1a5668bd29d2668fe959a065d566aaf2 (patch)
treea3b859e183684573eeafb13638e31fd63c67027c /x11-terms/guake/files
parentapp-arch/zstd: Mark ~hppa too. (diff)
downloadgentoo-a0a6dcbe1a5668bd29d2668fe959a065d566aaf2.tar.gz
gentoo-a0a6dcbe1a5668bd29d2668fe959a065d566aaf2.tar.bz2
gentoo-a0a6dcbe1a5668bd29d2668fe959a065d566aaf2.zip
x11-terms/guake: Fix dependencies, runtime
Bug: https://bugs.gentoo.org/667878 Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-terms/guake/files')
-rw-r--r--x11-terms/guake/files/guake-3.4.0-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-terms/guake/files/guake-3.4.0-paths.patch b/x11-terms/guake/files/guake-3.4.0-paths.patch
new file mode 100644
index 000000000000..30a47294d5ec
--- /dev/null
+++ b/x11-terms/guake/files/guake-3.4.0-paths.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/667878
+https://github.com/Guake/guake/issues/1436
+
+--- a/guake/paths.py
++++ b/guake/paths.py
+@@ -35,7 +35,7 @@
+
+
+ def get_data_files_dir():
+- d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
++ d = os.path.dirname(sys.modules["guake"].__file__)
+ p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
+ if p in ["site-packages", "dist-packages"]:
+ # current "guake" package has been installed in a prefix structure (/usr, /usr/local or