net/ntpsec: Liberation font support in ntpviz

PR:		261953
This commit is contained in:
Éric Masson 2022-02-14 14:48:02 -08:00 committed by Yuri Victorovich
parent 11ae0bb365
commit 3d2eab7cd4
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= ntpsec
DISTVERSIONPREFIX= NTPsec_
DISTVERSION= 1_2_1-52
PORTREVISION= 1
DISTVERSIONSUFFIX= -g5943108da
CATEGORIES= net

View File

@ -0,0 +1,10 @@
--- ntpclients/ntpviz.py.original 2022-02-14 19:02:54.755920000 +0100
+++ ntpclients/ntpviz.py 2022-02-14 19:03:27.065022000 +0100
@@ -1620,6 +1620,7 @@
sys.stderr.write("ntpviz: INFO: now running at nice: %s\n" % nice)
for fontpath in ("@PREFIX@/share/fonts/liberation",
+ "@PREFIX@/share/fonts/Liberation",
"@PREFIX@/share/fonts/liberation-fonts",
"@PREFIX@/share/fonts/truetype/liberation",
"/usr/share/fonts/liberation",