openbsd-ports/productivity/zim/patches/patch-zim_config_py
gonzalo c6e1ee5a3a This is an update for Zim to 0.56 with this updates:
* Fixed critical bug for opening email adresses without "mailto:" prefix
* Fixed bug where context menu for page index applied to the current page
  instead of the selected page
* Fixed behavior of Recent Pages pathbar in cases where part of the
history is dropped
* Fixed behavior of the Search dialog, it no longer hangs and also
allows cancelling the search
* Fixed bug where replacing a word (e.g spell correction) could drop
formatting

And a lot others. Tested on i386

Ok Sebastian Benoit (MAINTAINER), aja@
2012-06-21 20:25:45 +00:00

15 lines
573 B
Plaintext

$OpenBSD: patch-zim_config_py,v 1.3 2012/06/21 20:25:45 gonzalo Exp $
--- zim/config.py.orig Mon Mar 26 15:45:34 2012
+++ zim/config.py Fri May 18 09:44:41 2012
@@ -51,8 +51,8 @@ if os.name == 'nt':
home = os.environ['HOMEDRIVE'] + os.environ['HOMEPATH']
os.environ['HOME'] = home
-assert isdir(os.environ['HOME']), \
- 'ERROR: environment variable $HOME not set correctly'
+#assert isdir(os.environ['HOME']), \
+# 'ERROR: environment variable $HOME not set correctly'
if not 'USER' in os.environ or not os.environ['USER']:
# E.g. Maemo doesn't define $USER