From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../wxpython/files/wxpython-2.8-cache-writable.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-python/wxpython/files/wxpython-2.8-cache-writable.patch (limited to 'dev-python/wxpython/files/wxpython-2.8-cache-writable.patch') diff --git a/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch new file mode 100644 index 000000000000..57f26b37c2e8 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch @@ -0,0 +1,20 @@ +Use /tmp for cache files since the user won't have +write permissions on ${DOCDIR}. + +diff -Naurp docs-orig/viewdocs.py docs/viewdocs.py +--- docs-orig/viewdocs.py 2008-09-28 15:59:16.000000000 -0600 ++++ docs/viewdocs.py 2009-01-18 00:16:27.000000000 -0600 +@@ -16,11 +16,11 @@ if not basePath: + + + # test for write access +-if os.access(basePath, os.W_OK): ++if os.access('/tmp', os.W_OK): + + # setup the args + args = ['', +- '--cache='+basePath, ++ '--cache=/tmp', + os.path.join(basePath, 'wx.zip'), + ] + -- cgit v1.2.3