openbsd-ports/textproc/calibre/patches/patch-src_calibre_gui2___init___py
2017-01-12 23:39:53 +00:00

16 lines
557 B
Plaintext

$OpenBSD: patch-src_calibre_gui2___init___py,v 1.7 2017/01/12 23:39:53 sthen Exp $
- enable --detach, used by some .desktop files
--- src/calibre/gui2/__init__.py.orig Fri Dec 30 03:16:06 2016
+++ src/calibre/gui2/__init__.py Thu Jan 12 23:27:17 2017
@@ -901,7 +901,7 @@ def load_builtin_fonts():
def setup_gui_option_parser(parser):
- if islinux:
+ if islinux or isbsd:
parser.add_option('--detach', default=False, action='store_true',
help=_('Detach from the controlling terminal, if any (linux only)'))