diff --git a/astro/qmapshack/Makefile b/astro/qmapshack/Makefile index 102ce9858873..a790f0f1fef1 100644 --- a/astro/qmapshack/Makefile +++ b/astro/qmapshack/Makefile @@ -1,31 +1,30 @@ PORTNAME= qmapshack DISTVERSIONPREFIX= V_ -DISTVERSION= 1.19.0 -PORTREVISION= 1 +DISTVERSION= 1.20.0 CATEGORIES= astro MAINTAINER= cmt@FreeBSD.org COMMENT= Ultimate outdoor aficionado's tool WWW= https://github.com/Maproom/qmapshack/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libalglib.so:math/alglib \ libgdal.so:graphics/gdal \ libproj.so:graphics/proj \ libquazip1-qt6.so:archivers/quazip@qt6 \ libroutino.so:astro/routino RUN_DEPENDS= ${LOCALBASE}/bin/bsdisks:sysutils/bsdisks USES= cmake desktop-file-utils gl jpeg qt:6 USE_GITHUB= yes GH_ACCOUNT= Maproom USE_GL= gl USE_QT= 5compat base declarative positioning tools webchannel \ webengine OPTIONS_DEFINE= DOCS .include 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 + + 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 + + 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("", "", "");