git: 2beb665801ff - main - astro/qmapshack: update to 1.20.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 20:44:42 UTC
The branch main has been updated by cmt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2beb665801ff8d62e87a97d0af85cd897d77b46d
commit 2beb665801ff8d62e87a97d0af85cd897d77b46d
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2026-02-16 20:44:13 +0000
Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2026-02-16 20:44:13 +0000
astro/qmapshack: update to 1.20.0
Release Notes:
https://github.com/Maproom/qmapshack/releases/tag/V_1.20.0
---
astro/qmapshack/Makefile | 3 +--
astro/qmapshack/distinfo | 6 +++---
.../patch-src_qmapshack_setup_CAppSetupLinux.cpp | 22 ++++++++++++++++++++++
.../patch-src_qmaptool_setup_CAppSetupLinux.cpp | 22 ++++++++++++++++++++++
4 files changed, 48 insertions(+), 5 deletions(-)
diff --git a/astro/qmapshack/Makefile b/astro/qmapshack/Makefile
index 102ce9858873..a790f0f1fef1 100644
--- a/astro/qmapshack/Makefile
+++ b/astro/qmapshack/Makefile
@@ -1,7 +1,6 @@
PORTNAME= qmapshack
DISTVERSIONPREFIX= V_
-DISTVERSION= 1.19.0
-PORTREVISION= 1
+DISTVERSION= 1.20.0
CATEGORIES= astro
MAINTAINER= cmt@FreeBSD.org
diff --git a/astro/qmapshack/distinfo b/astro/qmapshack/distinfo
index 24883b2f2a25..ac0de19852c7 100644
--- a/astro/qmapshack/distinfo
+++ b/astro/qmapshack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1764503274
-SHA256 (Maproom-qmapshack-V_1.19.0_GH0.tar.gz) = b2dcdcc7ef66e80cfd6e0be9d8ee493e72f3c1bfffcc9f592d2fc4d4995847a6
-SIZE (Maproom-qmapshack-V_1.19.0_GH0.tar.gz) = 58382806
+TIMESTAMP = 1771261985
+SHA256 (Maproom-qmapshack-V_1.20.0_GH0.tar.gz) = 0a3b60e185e701a36d50e910c8d9ae5b780a1a770886ac15d4f7cc237fa49c24
+SIZE (Maproom-qmapshack-V_1.20.0_GH0.tar.gz) = 57605158
diff --git a/astro/qmapshack/files/patch-src_qmapshack_setup_CAppSetupLinux.cpp b/astro/qmapshack/files/patch-src_qmapshack_setup_CAppSetupLinux.cpp
new file mode 100644
index 000000000000..d0c37613fef8
--- /dev/null
+++ b/astro/qmapshack/files/patch-src_qmapshack_setup_CAppSetupLinux.cpp
@@ -0,0 +1,22 @@
+commit d1fe132b222794ca1587785a62e3d4e2485918ca
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+
+ sighandler_t is a GNU extension
+
+ use the corresponding FreeBSD extension sig_t
+
+diff --git src/qmapshack/setup/CAppSetupLinux.cpp src/qmapshack/setup/CAppSetupLinux.cpp
+index 028a55f5..cd856e36 100644
+--- src/qmapshack/setup/CAppSetupLinux.cpp
++++ src/qmapshack/setup/CAppSetupLinux.cpp
+@@ -29,6 +29,10 @@
+ #include "config.h"
+ #include "version.h"
+
++#if defined(Q_OS_FREEBSD)
++typedef sig_t sighandler_t;
++#endif
++
+ void CAppSetupLinux::initQMapShack() {
+ // setup gdal
+ prepareGdal("", "", "");
diff --git a/astro/qmapshack/files/patch-src_qmaptool_setup_CAppSetupLinux.cpp b/astro/qmapshack/files/patch-src_qmaptool_setup_CAppSetupLinux.cpp
new file mode 100644
index 000000000000..9e1a94c498a3
--- /dev/null
+++ b/astro/qmapshack/files/patch-src_qmaptool_setup_CAppSetupLinux.cpp
@@ -0,0 +1,22 @@
+commit a23da70dfce1212ef8399cca261a095bb472ea61
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+
+ sighandler_t is a GNU extension
+
+ use the correspondig FreeBSD extension sig_t
+
+diff --git src/qmaptool/setup/CAppSetupLinux.cpp src/qmaptool/setup/CAppSetupLinux.cpp
+index 19ebccfa..74563081 100644
+--- src/qmaptool/setup/CAppSetupLinux.cpp
++++ src/qmaptool/setup/CAppSetupLinux.cpp
+@@ -29,6 +29,10 @@
+ #include "config.h"
+ #include "version.h"
+
++#if defined(Q_OS_FREEBSD)
++typedef sig_t sighandler_t;
++#endif
++
+ void CAppSetupLinux::initQMapTool() {
+ // setup gdal
+ prepareGdal("", "", "");