1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/ice/files/patch-cpp-test-Ice-properties-run.py
Martin Wilke ccecfeab22 - Fix build with gcc 4.7
- Add support for clang

PR:		165702
Submitted by:	Michael Gmelin <freebsd@grem.de> (maintainer)
Feature safe:	yes
2012-03-24 15:57:39 +00:00

19 lines
572 B
Python

--- cpp.orig/test/Ice/properties/run.py 2011-06-15 21:43:59.000000000 +0200
+++ cpp/test/Ice/properties/run.py 2012-03-04 20:14:53.000000000 +0100
@@ -26,7 +26,7 @@
#
# Write config
#
-configPath = u"./config/中国_client.config"
+configPath = u"./config/中国_client.config".encode("utf-8")
TestUtil.createConfig(configPath,
["# Automatically generated by Ice test driver.",
@@ -38,4 +38,4 @@
TestUtil.simpleTest(client)
if os.path.exists(configPath):
- os.remove(configPath)
\ No newline at end of file
+ os.remove(configPath)