freebsd-ports/devel/ice/files/patch-python-test-Slice-unicodePaths-run.py
Michael Gmelin ca88d41854 Update ice ports to 3.6.3
A few critical patches got merged upstream, a few new were required
to maintain LibreSSL support and fix other new issues. Note that slice2py
moved from devel/py-ice to devel/ice.

Approved by:	mentors (implicit)
2016-10-12 17:23:57 +00:00

11 lines
490 B
Python

--- python/test/Slice/unicodePaths/run.py.orig 2016-10-05 16:59:08.000000000 +0200
+++ python/test/Slice/unicodePaths/run.py 2016-10-12 12:00:24.045889876 +0200
@@ -26,7 +26,7 @@
print("failed!")
sys.exit(1)
-if TestUtil.isAIX() or TestUtil.isLinux():
+if TestUtil.isAIX() or TestUtil.isLinux() or TestUtil.isFreeBSD():
encoding = locale.getdefaultlocale()[1]
if encoding != "UTF-8":
print("Please set LC_ALL to xx_xx.UTF-8, for example FR_FR.UTF-8")