From nobody Thu Nov 30 17:40:23 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sh3PM3HPjz52LZC; Thu, 30 Nov 2023 17:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sh3PM2mwCz4ck1; Thu, 30 Nov 2023 17:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701366023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H+3XOt+sRfb7EFm9UcUDXCTKP/yxvXFzh+srBPaetB4=; b=GWQXDtQ+l8jUqP8+/wW49CdMZ0ys0u7IsukX73ZPWJpgG4pNk6lesYDOMPSEM1zBH53+n2 jCrdSkCvixT/9k9BA2CFWCo2e6Ars6fr07P9a+bvE8BvDP84Ms2knIwfipZ1yWvJbEpOE6 Q4aP/67dWYNCgvWDN2t8M6P8P3LkiLU6erJx/OQCOtHMnCi2GQ1KWmYkUwXuv+1vs43fl1 rwWCnCoXXWFetTIlKxMUcKajoCZ/eQqC9Hgq72eYnhA0JGd97ZirEzsyPAwEcoCxnpesTQ gd6Oalv6yQCRqWalBPLc/c/tPRzt169YhTrqqng9lHbUGsPhOFsTDCHv3j72YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701366023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H+3XOt+sRfb7EFm9UcUDXCTKP/yxvXFzh+srBPaetB4=; b=J0qQgt2cNDodcBMG7P35/U0+hOP6vsHM8Zynss2SnXjdwJJnARqpNon1fg2+I1m7XYE5h8 wTSh9ydsp0UXbV9huSm0a84YH6cN4TF2/qJLH4obOAFAupEkdREWkNxRya00fvYm4u/iw3 96j17lQ0CN6I7V2VYp5Iu4wee65VebHgkSwt7ded6DDykegWXOax0iulN+DYce3Jft1pLR VlmalY8eHV5/3d7l2B5NhZ9KDGbDvD+PRW9D/6fcrMe7Ue9Twmo75SWnMo/hEfHw/wO+7E AhYBceZ4ulnbVR/DYe2PgARapXBruud3HEsjN+Y0uQY7cGySuyrWuEsW/NrkPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701366023; a=rsa-sha256; cv=none; b=B0H6lsmJUf8d+/YH2dKM0gnDhfXA03sbh4yep/puyMlGJhk/7xU1IEyHNycvOTRZnKODm3 gcIMXCNK93+lSE+8sZOIaGpNKbxlPq1UW83ccLYu2+LloCZms4wwAq+fDpUYDjRS78xHd4 /hlNAtPvtEUToPQUnMgYtDY6Z9l5HzH9vbQp8TXm2WvV+a+podQCNhkAGYzTYzHcG36yW6 TgEDtq8drv1gWQ0T41wHQa7ZnhNQjzHxYJs8Ppihx0JnVnQRFaW5IBcF5rzSLR4JasLYMv LvFzpZmKBRBZ+4F7KhmwESuHDgnNZidu/qwFm9C1F3bWJJeuD1bHMoZOLwTaig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sh3PM1tP3zyj5; Thu, 30 Nov 2023 17:40:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AUHeNI8064765; Thu, 30 Nov 2023 17:40:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AUHeN0W064762; Thu, 30 Nov 2023 17:40:23 GMT (envelope-from git) Date: Thu, 30 Nov 2023 17:40:23 GMT Message-Id: <202311301740.3AUHeN0W064762@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 0d22a507c1d7 - main - textproc/crow-translate: Resolve settings dialog issue List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d22a507c1d792fe36b1f987522ac199cf84f527 Auto-Submitted: auto-generated The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d22a507c1d792fe36b1f987522ac199cf84f527 commit 0d22a507c1d792fe36b1f987522ac199cf84f527 Author: Emanuel Haupt AuthorDate: 2023-11-30 17:36:54 +0000 Commit: Emanuel Haupt CommitDate: 2023-11-30 17:36:54 +0000 textproc/crow-translate: Resolve settings dialog issue Fixes an issue where the application core dumps upon pressing the settings icon. Reported by: Ricardo Albarracin B. (via mail) Upstream issue: https://github.com/crow-translate/crow-translate/issues/621 (hijacked) --- textproc/crow-translate/Makefile | 1 + ...ngs_autostartmanager_abstractautostartmanager.cpp | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/textproc/crow-translate/Makefile b/textproc/crow-translate/Makefile index 482017769a44..8a4bf6ef8054 100644 --- a/textproc/crow-translate/Makefile +++ b/textproc/crow-translate/Makefile @@ -1,5 +1,6 @@ PORTNAME= crow-translate PORTVERSION= 2.11.0 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= ehaupt@FreeBSD.org diff --git a/textproc/crow-translate/files/patch-src_settings_autostartmanager_abstractautostartmanager.cpp b/textproc/crow-translate/files/patch-src_settings_autostartmanager_abstractautostartmanager.cpp new file mode 100644 index 000000000000..e5912a42d567 --- /dev/null +++ b/textproc/crow-translate/files/patch-src_settings_autostartmanager_abstractautostartmanager.cpp @@ -0,0 +1,20 @@ +--- src/settings/autostartmanager/abstractautostartmanager.cpp.orig 2023-10-14 14:48:26 UTC ++++ src/settings/autostartmanager/abstractautostartmanager.cpp +@@ -18,7 +18,7 @@ + */ + + #include "abstractautostartmanager.h" +-#if defined(Q_OS_LINUX) ++#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) + #include "portalautostartmanager.h" + #include "unixautostartmanager.h" + #elif defined(Q_OS_DARWIN) +@@ -36,7 +36,7 @@ AbstractAutostartManager *AbstractAutostartManager::cr + + AbstractAutostartManager *AbstractAutostartManager::createAutostartManager(QObject *parent) + { +-#if defined(Q_OS_LINUX) ++#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) + if (PortalAutostartManager::isAvailable()) + return new PortalAutostartManager(parent); + return new UnixAutostartManager(parent);