freebsd-ports/x11/guake/files/patch-guake_paths.py
Alexandre C. Guimarães 4c90bed182 x11/guake: Update to version 3.4.0
- Pass maintainership to submitter

PR:		232163
Submitted by:	Daniel Shafer <daniel@shafer.cc>
Approved by:	tcberner (mentor), nivit (maintainer timeout, 30 days)
Differential Revision:	https://reviews.freebsd.org/D17726
2018-11-10 19:15:37 +00:00

12 lines
489 B
Python

--- guake/paths.py.orig 2018-10-09 15:31:40 UTC
+++ guake/paths.py
@@ -35,7 +35,7 @@ def get_default_package_root():
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