git: 3d2eab7cd456 - main - net/ntpsec: Liberation font support in ntpviz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 22:48:54 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d2eab7cd4566bf42810f24552fad6f58468c4dc
commit 3d2eab7cd4566bf42810f24552fad6f58468c4dc
Author: Éric Masson <emss@free.fr>
AuthorDate: 2022-02-14 22:48:02 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-14 22:48:47 +0000
net/ntpsec: Liberation font support in ntpviz
PR: 261953
---
net/ntpsec/Makefile | 1 +
net/ntpsec/files/patch-ntpclients_ntpviz.py | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/net/ntpsec/Makefile b/net/ntpsec/Makefile
index 2f21af4c10b2..90bd8121b962 100644
--- a/net/ntpsec/Makefile
+++ b/net/ntpsec/Makefile
@@ -1,6 +1,7 @@
PORTNAME= ntpsec
DISTVERSIONPREFIX= NTPsec_
DISTVERSION= 1_2_1-52
+PORTREVISION= 1
DISTVERSIONSUFFIX= -g5943108da
CATEGORIES= net
diff --git a/net/ntpsec/files/patch-ntpclients_ntpviz.py b/net/ntpsec/files/patch-ntpclients_ntpviz.py
new file mode 100644
index 000000000000..0d33fcd26f92
--- /dev/null
+++ b/net/ntpsec/files/patch-ntpclients_ntpviz.py
@@ -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",