From nobody Mon Feb 06 19:26:03 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 4P9bpM2d4tz3n5BM; Mon, 6 Feb 2023 19:26:03 +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 4P9bpM2CQVz3lGt; Mon, 6 Feb 2023 19:26:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675711563; 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=lpDU02IS4Aqe7VOhIQPz9+cBf7wafllp54G728VmUYE=; b=ZXapYd4l59FK4Jqjs/MzUMYFCCcB32rr/atACG/ZOk3tseYA1vXGEEGi1l/7BNW+048eo9 biY2kRwRDSyrxzrQ7m9UMrmXlFGIkOOZEiyk05GtRtrUWXCf6jFZZ/FooUwEEO2BOQUs3p 34nK+HMpCfTzmRgTa736or3v/vyT30/rPRDMPPWUOrC99k4koVWIwEFTs3ptii0MpPybrZ mCufAqguJeXcVsCa9O7kep6ojpuY7vu4Z52QIBepPTJbysysB9xGwjSqGiXIh/j3NQnsiJ 5ddy33vPw+a/2r34LHYjd4hTrvdwPUz9zc9W/DROyU43M8Bl6BrGKagJDNXnWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675711563; 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=lpDU02IS4Aqe7VOhIQPz9+cBf7wafllp54G728VmUYE=; b=ikRM1CT2S3/89mgaTW6QzgS4uJaMxCbx3XL0dE1c41KKy7YcxRQFtGt6iXy4k2fwoUlz06 w/9loJ2XWzF5ob/jTcxkkV7jYOTgLPU6Hly1VfwwV011CG4AWq/ADmEXfFtpwhtI0URHUd llAgNrXmwzloIjdK0NGZdB1ZVYhNuDLKN7RSHi3KaqdQWnr7Xcm1uWJn0mnik5mz8YRPqh nRjdE12ilrD9VKRCdiHMA0V+WZmdRRwaRwAeyBXfB4gAnjPtpD5lBk3Fg14f9QwneNdQ3p sTFOQPss8CtmPFzMKyiVJ/FOJi+PSH4yYMayt9j30jbFieySIkef795wf+XdHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675711563; a=rsa-sha256; cv=none; b=kQt27dMa3D7GaGPDjI/kVEILHbpwVoHHdN+qeSzPJdVXFLoZGlY82UM8VL7OxkIU6bbMsx h6G3D2mpirI0pkGxB2zMiBt15nSnCcKmysWzOd7QVA+PX38Iq0HEBp27JQCJr6MAI6Xqg0 lO5jLZS1nyliubkMOUsX4JzDOTz7GAQOLfhrioKf0uBMdT/AoqZCrVG+BAmJoMZVSDtWM6 HSP9opbJtYQLb3j8MgBemCF9Bu7OCE47roJ3yIbc5412rNFR5n23HNE6y4uk6+nf66ggz2 AzTXrqN2yujtXACMtnhbmlVoenYvUPZ4VGXdQCubUdUvERWNmWjrRMVvEvIikw== 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 4P9bpM1CxXzms5; Mon, 6 Feb 2023 19:26:03 +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 316JQ3qT005996; Mon, 6 Feb 2023 19:26:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 316JQ3W8005995; Mon, 6 Feb 2023 19:26:03 GMT (envelope-from git) Date: Mon, 6 Feb 2023 19:26:03 GMT Message-Id: <202302061926.316JQ3W8005995@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: e239314a86fd - main - 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/main X-Git-Reftype: branch X-Git-Commit: e239314a86fd69d64c856fed632e155f6ca4549b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e239314a86fd69d64c856fed632e155f6ca4549b commit e239314a86fd69d64c856fed632e155f6ca4549b Author: Jan Beich AuthorDate: 2023-02-06 12:39:00 +0000 Commit: Jan Beich CommitDate: 2023-02-06 19:25:58 +0000 astro/mepo: unbreak zoom in/out on SIGUSR1/SIGUSR2 https://git.sr.ht/~mil/mepo/commit/2e50c6f02618 --- astro/mepo/Makefile | 1 + astro/mepo/files/patch-src_api_bind__signal.zig | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile index 20c36e8a0501..6d0f071752de 100644 --- a/astro/mepo/Makefile +++ b/astro/mepo/Makefile @@ -1,5 +1,6 @@ PORTNAME= mepo DISTVERSION= 1.1.2 +PORTREVISION= 1 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);