summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/guake/files/guake-3.4.0-paths.patch')
-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 00000000000..30a47294d5e
--- /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