eb3cff4f6f
from viq
17 lines
621 B
Plaintext
17 lines
621 B
Plaintext
$OpenBSD: patch-src_calibre_constants_py,v 1.1 2011/09/05 12:38:36 jasper Exp $
|
|
|
|
Add OpenBSD to list of recognized BSDs
|
|
|
|
--- src/calibre/constants.py.orig Sun Jul 17 14:31:23 2011
|
|
+++ src/calibre/constants.py Sun Jul 17 14:31:53 2011
|
|
@@ -28,7 +28,8 @@ isosx = 'darwin' in _plat
|
|
isnewosx = isosx and getattr(sys, 'new_app_bundle', False)
|
|
isfreebsd = 'freebsd' in _plat
|
|
isnetbsd = 'netbsd' in _plat
|
|
-isbsd = isfreebsd or isnetbsd
|
|
+isopenbsd = 'openbsd' in _plat
|
|
+isbsd = isfreebsd or isnetbsd or isopenbsd
|
|
islinux = not(iswindows or isosx or isbsd)
|
|
isfrozen = hasattr(sys, 'frozen')
|
|
isunix = isosx or islinux
|