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)
This commit is contained in:
Diane Bruce 2024-01-08 09:09:38 -05:00
parent adbf6a81e7
commit d090232c0b
3 changed files with 19 additions and 4 deletions

View file

@ -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:

View file

@ -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

View file

@ -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