From nobody Mon Feb 06 19:39:37 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 4P9c6147Bfz3n63l; Mon, 6 Feb 2023 19:39:37 +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 4P9c613T6fz3qfG; Mon, 6 Feb 2023 19:39:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675712377; 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=Na8BaPoOvbI+ZldNsaM0uhoRgEK7pIAz/iVkfg4WCGI=; b=pZVb3j2nkdQ1jBhKJ+dZQQpquADM49G1d70owVc44lba3/+akHLIUK/3xNeT3cmItFj9ks ohsUXM0WG7ShIL1+bYAndfrnogsOSrCoVuviwyi37CGnMkVBVmyN1xMCmle6m0vX9PAofO C/YjqhT1osytIQ2AbxzWUipgW2em9vJ14RCkQvAuex1fHAdQIfNyjjl4jMSx1F+aO0T+mw Q0Rc/b0rduMQ/5zqPjmp+/kVtZUpAARVgqQDEShO7XdG2SoClZfxPftMQ9xYTmQ6WR0m1o BC4D613o/czYw45OBghWx7muEIRfpWtcToVfkzvYYpoCii6bwT7LYyKN0x/qdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675712377; 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=Na8BaPoOvbI+ZldNsaM0uhoRgEK7pIAz/iVkfg4WCGI=; b=csyuluZ1sadJFvq3Vamh03W/Vqm7/iFIf7ePamJvqkGN5mlkWCbtzlQ3C2ddOSCqvO7Qrh UIXZ1WdTG/pWGMr8TdfwjwOFEz0YxAkLNwXFa3vps6HFQbmXEM5N9OR8D9jymtvWKzbXaM iCl+M+gGEXQg3lhuRknQuDTbDfDz7AcM5Zh6XaDT3gbOgU2Bui3h327PlesF/TMW+6TXr2 iqIMcmkAHA2c+KDZFIiz9KMsj0af0yKXT8/PsaxgS+AFPqW5Vr225mxjbCXDxsoUVTXrBz vLeMcqHEwwJ9QpuVE7PoeGvmj67TdyzLeAct4juPKGXzDBR7elMceW7o1/qErQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675712377; a=rsa-sha256; cv=none; b=tEiFNkZBHgrIK/SZP8SQ5s0Zd2CAGXjJvPlii1mOVSBTDLOZEONA+UprURq+PL0cmfTmw6 iiIqbIkmwyqsx9znSg5BjW/2h4SLIBikgaYfw8JkBIXjethlV6iuvMil29F4f0KeqrgFM9 bRVmjAJR/I8tkQ6giQCri9QHIkB2hqq8U8Ps4GAMyYNewqYz+ofpPkJlO29NWxjRAiUpNK jvOmgM0g4ggqO6lt/MCtHv5jlWRB3rmM3HeeHjz3OOHDJzRtd5HCYp46MhteMXhxQLrR3j wZoCkPLIXgZbID9yALYoZn9usgwqZkTDB0jsTlQfRR5+UIodznSX74K/JS5tLw== 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 4P9c612GpQznF0; Mon, 6 Feb 2023 19:39:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 316Jdba9020953; Mon, 6 Feb 2023 19:39:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 316JdbcE020952; Mon, 6 Feb 2023 19:39:37 GMT (envelope-from git) Date: Mon, 6 Feb 2023 19:39:37 GMT Message-Id: <202302061939.316JdbcE020952@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 3ee2eb616ce6 - 2023Q1 - astro/mepo: unbreak zoom in/out on SIGUSR1/SIGUSR2 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q1 X-Git-Reftype: branch X-Git-Commit: 3ee2eb616ce616ebfa5d542d80993274c19d60e9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=3ee2eb616ce616ebfa5d542d80993274c19d60e9 commit 3ee2eb616ce616ebfa5d542d80993274c19d60e9 Author: Jan Beich AuthorDate: 2023-02-06 12:39:00 +0000 Commit: Jan Beich CommitDate: 2023-02-06 19:39:12 +0000 astro/mepo: unbreak zoom in/out on SIGUSR1/SIGUSR2 https://git.sr.ht/~mil/mepo/commit/2e50c6f02618 (cherry picked from commit e239314a86fd69d64c856fed632e155f6ca4549b) --- astro/mepo/Makefile | 2 +- astro/mepo/files/patch-src_api_bind__signal.zig | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile index 220ebb807866..f30d1753c510 100644 --- a/astro/mepo/Makefile +++ b/astro/mepo/Makefile @@ -1,6 +1,6 @@ PORTNAME= mepo DISTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro geography wayland MASTER_SITES= https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ diff --git a/astro/mepo/files/patch-src_api_bind__signal.zig b/astro/mepo/files/patch-src_api_bind__signal.zig new file mode 100644 index 000000000000..378d281adc74 --- /dev/null +++ b/astro/mepo/files/patch-src_api_bind__signal.zig @@ -0,0 +1,25 @@ +https://lists.sr.ht/~mil/mepo-devel/patches/38775 + +--- src/api/bind_signal.zig.orig 2023-02-01 03:43:08 UTC ++++ src/api/bind_signal.zig +@@ -39,13 +39,14 @@ fn bind_signal(mepo: *Mepo, signo_str: [:0]const u8, expression: []const u8) !vo + } + + // Register generic signal handler +- if (0 != std.os.linux.sigaction(signal_name, &.{ ++ const signal_action = std.os.Sigaction{ + .handler = .{ .handler = utilsdl.sdl_push_event_signal }, +- .mask = [_]u32{0} ** 32, +- .flags = @as(c_uint, 0), +- }, null)) { +- return error.FailedToSetupSighandler; +- } ++ .mask = std.os.empty_sigset, ++ .flags = 0, ++ }; ++ ++ std.os.sigaction(signal_name, &signal_action, null) ++ catch return error.FailedToSetupSighandler; + + if (mepo.table_signals.get(signal_name)) |heap_str| { + mepo.allocator.free(heap_str);