Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2019 23:48:19 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504508 - in head/comms/quisk: . files
Message-ID:  <201906182348.x5INmJwi088370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Tue Jun 18 23:48:19 2019
New Revision: 504508
URL: https://svnweb.freebsd.org/changeset/ports/504508

Log:
  Re-add unicode fix lost in r502312

Added:
  head/comms/quisk/files/patch-quisk.py   (contents, props changed)
Modified:
  head/comms/quisk/Makefile

Modified: head/comms/quisk/Makefile
==============================================================================
--- head/comms/quisk/Makefile	Tue Jun 18 22:30:13 2019	(r504507)
+++ head/comms/quisk/Makefile	Tue Jun 18 23:48:19 2019	(r504508)
@@ -3,7 +3,7 @@
 
 PORTNAME=	quisk
 DISTVERSION=	4.1.40
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	comms hamradio
 MASTER_SITES=	CHEESESHOP
 

Added: head/comms/quisk/files/patch-quisk.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/quisk/files/patch-quisk.py	Tue Jun 18 23:48:19 2019	(r504508)
@@ -0,0 +1,16 @@
+--- quisk.py.orig	2019-06-18 23:38:53 UTC
++++ quisk.py
+@@ -23,6 +23,13 @@ os.chdir(os.path.normpath(os.path.dirnam
+ if sys.path[0] != "'.'":		# Make sure the current working directory is on path
+   sys.path.insert(0, '.')
+ 
++# Hack to ensure unicode is available.
++import locale
++locale.setlocale(locale.LC_ALL, '')
++cloc = locale.getdefaultlocale()
++if locale.nl_langinfo(locale.CODESET) != 'UTF-8':
++  locale.setlocale(locale.LC_ALL, (cloc[0], 'UTF-8'))
++
+ import wx, wx.html, wx.lib.stattext, wx.lib.colourdb, wx.grid, wx.richtext
+ import math, cmath, time, traceback, string, select, subprocess
+ import threading, pickle, webbrowser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906182348.x5INmJwi088370>