git: d090232c0b88 - main - comms/klog: update to 2.3.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 14:11:09 UTC
The branch main has been updated by db:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d090232c0b88b7c0fd772ab04d511b31440c2c2d
commit d090232c0b88b7c0fd772ab04d511b31440c2c2d
Author: Diane Bruce <db@FreeBSD.org>
AuthorDate: 2024-01-08 14:09:38 +0000
Commit: Diane Bruce <db@FreeBSD.org>
CommitDate: 2024-01-08 14:09:38 +0000
comms/klog: update to 2.3.3
- Changed handling of locale to accept "C"
Dec 2023 - 2.3.3
- WIP: Started to reduce the possibility of SQLi with the use of prepared statements.
- Bugfix: Sat QSO edit was not showing the worked SAT (Closes #645)
- Bugfix: After editing a QSO, the restore was not working properly. (Closes #649)
- Bugfix: In Sat QSO, still not selected band may make the QSO unusable. (Closes #651)
- Bugfix: All Gridsquares are now listed when Export to ADIF is used. (Closes #514)
- Bugfix: Selecting a sat with a new band made the bandcombobox unusable. #613
- Bugfix: F1 (online manual link fixed (Closes #627) (TNX ikbenkous)
- Bugfix: 'Usage' does not properly handle arguments, print newlines or return status codes (Closes #625) (TNX ikbenkous)
- Enhancement: Improved the Frequency entry. (Closes #622) (TNX ikbenkous)
- Enhancement: Use a good discriminator in header guards (Closes #624) (TNX ikbenkous)
---
comms/klog/Makefile | 4 +++-
comms/klog/distinfo | 6 +++---
comms/klog/files/patch-src_main.cpp | 13 +++++++++++++
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/comms/klog/Makefile b/comms/klog/Makefile
index ab47cc76ca9c..7aea97446e06 100644
--- a/comms/klog/Makefile
+++ b/comms/klog/Makefile
@@ -1,5 +1,5 @@
PORTNAME= klog
-PORTVERSION= 2.3.2
+PORTVERSION= 2.3.3
CATEGORIES= comms hamradio
MAINTAINER= hamradio@FreeBSD.org
@@ -33,8 +33,10 @@ PLIST_FILES= bin/klog \
${DATADIR}/translations/klog_fr.qm \
${DATADIR}/translations/klog_hr.qm \
${DATADIR}/translations/klog_it.qm \
+ ${DATADIR}/translations/klog_lv.qm \
${DATADIR}/translations/klog_ja.qm \
${DATADIR}/translations/klog_pl.qm \
+ ${DATADIR}/translations/klog_uk.qm \
man/man1/klog.1.gz
post-patch:
diff --git a/comms/klog/distinfo b/comms/klog/distinfo
index 6ef158708ecb..d5289d2c1ac6 100644
--- a/comms/klog/distinfo
+++ b/comms/klog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702745062
-SHA256 (ea4k-klog-2.3.2_GH0.tar.gz) = 1aef1d7871074f17ec39e7b7990e35be678fb573240fded2834f837354c2a347
-SIZE (ea4k-klog-2.3.2_GH0.tar.gz) = 4768856
+TIMESTAMP = 1703965454
+SHA256 (ea4k-klog-2.3.3_GH0.tar.gz) = 59e30fdee4bcd0ffa732ddddfec34c47ad34d66da2a033534b0805175be2031d
+SIZE (ea4k-klog-2.3.3_GH0.tar.gz) = 4776834
diff --git a/comms/klog/files/patch-src_main.cpp b/comms/klog/files/patch-src_main.cpp
new file mode 100644
index 000000000000..88e0f3adcefa
--- /dev/null
+++ b/comms/klog/files/patch-src_main.cpp
@@ -0,0 +1,13 @@
+--- src/main.cpp.orig 2023-12-26 00:00:15 UTC
++++ src/main.cpp
+@@ -151,6 +151,10 @@ int main(int argc, char *argv[])
+ myappTranslator.load(QCoreApplication::applicationDirPath() + "/translations/klog_" + (QLocale::system().name())); /* Flawfinder: ignore */
+ }
+
++ else if (((QLocale::system().name()).left(1)) == "C") /* Flawfinder: ignore */
++ { // If language is C, it will execute without showing message
++
++ }
+ else if (((QLocale::system().name()).left(2)) == "en") /* Flawfinder: ignore */
+ { // If language is English, it will execute without showing message
+