git: 307d7f1d2865 - main - astro/marble: add upstream fix for broken library linkage

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Fri, 02 Sep 2022 12:10:22 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=307d7f1d2865d218076e8cf9b4d772320ee08b65

commit 307d7f1d2865d218076e8cf9b4d772320ee08b65
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-09-02 11:59:49 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-09-02 11:59:49 +0000

    astro/marble: add upstream fix for broken library linkage
    
      Fix link definitions with newer CMake versions
    
        LINK_PUBLIC and LINK_PRIVATE have been deprecated for many years, and
        SailfishOS has a newer enough CMake version now. Marble requires CMake
        3.10 anyway.
    
        Without this change, cmake 3.24.0 won't find the imported targets when
        Marble is used as a library.
    
    PR:     265652
---
 astro/marble/Makefile | 4 ++++
 astro/marble/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/astro/marble/Makefile b/astro/marble/Makefile
index 276c316298e0..98aa02aedeac 100644
--- a/astro/marble/Makefile
+++ b/astro/marble/Makefile
@@ -1,7 +1,11 @@
 PORTNAME=	marble
 DISTVERSION=	${KDE_APPLICATIONS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	astro education kde kde-applications
 
+PATCH_SITES=	https://invent.kde.org/education/marble/-/commit/
+PATCHFILES=	677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff:-p1
+
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Virtual globe and world atlas for KDE
 
diff --git a/astro/marble/distinfo b/astro/marble/distinfo
index d4459dca5df1..6f79efcb57e4 100644
--- a/astro/marble/distinfo
+++ b/astro/marble/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1660628648
+TIMESTAMP = 1662119965
 SHA256 (KDE/release-service/22.08.0/marble-22.08.0.tar.xz) = 02a88a77078d4f73ac6870e075b93740c30dd3d9e8ad31201ce29b44d0faab6e
 SIZE (KDE/release-service/22.08.0/marble-22.08.0.tar.xz) = 53662988
+SHA256 (KDE/release-service/22.08.0/677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff) = 97b3e42d94091d0d7ba07f7ec1718e386080e613a8d051ed9872c2f012fa0820
+SIZE (KDE/release-service/22.08.0/677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff) = 4767