Index: head/comms/quisk/Makefile =================================================================== --- head/comms/quisk/Makefile (revision 504507) +++ head/comms/quisk/Makefile (revision 504508) @@ -1,39 +1,39 @@ # Created by: Stephen Hurd # $FreeBSD$ PORTNAME= quisk DISTVERSION= 4.1.40 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MASTER_SITES= CHEESESHOP MAINTAINER= hamradio@FreeBSD.org COMMENT= Software Defined Radio (SDR) LICENSE= GPLv2 BROKEN_i386= strip: elf_update() failed: Invalid data buffer descriptor (bug#238131) LIB_DEPENDS= libfftw3.so:math/fftw3 \ libportaudio.so:audio/portaudio \ libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio USES= python:2.7 USE_PYTHON= distutils noflavors autoplist USE_WX= 3.0+ WX_COMPS= python post-extract: @${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so \ ${WRKSRC}/freedvpkg/libcodec2_32.so \ ${WRKSRC}/freedvpkg/libcodec2_64.so post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py post-stage: @${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} .include Index: head/comms/quisk/files/patch-quisk.py =================================================================== --- head/comms/quisk/files/patch-quisk.py (nonexistent) +++ head/comms/quisk/files/patch-quisk.py (revision 504508) @@ -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 Property changes on: head/comms/quisk/files/patch-quisk.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property