ports/comms/wspr/files/patch-wspr.py
Diane Bruce 7ce1d917d3 Fix build under gfortran7
Bug 222560: comms/wspr: fails to build with lang/gcc7 or later
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222560

PR:		ports/222560
Reported by:	Jan Beich <jbeich@FreeBSD.org>
2017-09-27 23:29:43 +00:00

11 lines
296 B
Python

--- wspr.py.orig 2017-09-27 19:55:15 UTC
+++ wspr.py
@@ -50,7 +50,7 @@ from WsprMod import g
import Pmw
from WsprMod import palettes
from math import log10
-from numpy.oldnumeric import zeros
+from numpy import zeros
import array
##import dircache
from PIL import Image, ImageTk, ImageDraw