$OpenBSD: patch-spyder_kernels_customize_spydercustomize_py,v 1.1.1.1 2018/08/29 23:17:17 sthen Exp $

Index: spyder_kernels/customize/spydercustomize.py
--- spyder_kernels/customize/spydercustomize.py.orig
+++ spyder_kernels/customize/spydercustomize.py
@@ -183,7 +183,7 @@ except:
 # Add default filesystem encoding on Linux to avoid an error with
 # Matplotlib 1.5 in Python 2 (Fixes Issue 2793)
 #==============================================================================
-if PY2 and sys.platform.startswith('linux'):
+if PY2 and sys.platform.startswith(('linux','openbsd')):
     def _getfilesystemencoding_wrapper():
         return 'utf-8'
 
