From nobody Tue Feb 06 20:06:02 2024 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 4TTvQ25GqHz59snT; Tue, 6 Feb 2024 20:06:02 +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 4TTvQ23xzcz4Plt; Tue, 6 Feb 2024 20:06:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707249962; 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=eKvUrpsYsNZUYtlNSV7HZX9gbZKbv3/KYhGSLv30ZsE=; b=E4zKz41gVQCDyXFHDJftX9tCz0vs5MU0hzW3P2WV09dH3dfZ5/aMter2qg92Yrwu2dpect JvdhnhdeH1a5+KaL4eFAlN01cgnyVgwCE5WjhpA2P+IlWyeX8IwWv4pT88t/YZgprxHsHn H+w+jNe449yXfspdccgP20xRhur21q22JN9dOl3SlAOD3PHu1FvPiC1vVTsAzJbQ/rZp2r 65AG3HwJ21JXolN/LmFeS/I+zuJ55YzdiXZtGCfXQ/ckwX9d7EV1yGoqG3SK9U06pPYFXP IyVZ6UzNz/8ToavuPgknzI5C5d+72ukXsHNj8YNKkfk+Pa9DsaUxyV17kjdMHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707249962; 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=eKvUrpsYsNZUYtlNSV7HZX9gbZKbv3/KYhGSLv30ZsE=; b=rGyBVXj1eNsz4eNLMGTK7wZmBCjipXH8hzBnaSNTjPuYKbAGCXRShWx0naU0wEz8tP2Kwz imqgdtFzW10y/iRrxFmLGq2xoGvfIL/+MkUPtFJ0x2YSroEdRdYdnwBby4eMPdL+RdT78s weRpaYr3toZxWfkF4Y+dmRfR7w3tDrVKVMZTnRg4IpwwEDOOz5JEYGp3QdZpAyb/sSM9Yc 68QDQHCyoIbS20w8CC4xCbEPCkHy2gGhVEbQP8WWwPFWtb+66JEiobWrJbEK14klNDoMd4 47shT7mfzdLeuYCpVyeDi6PqZBkRN+q79A8Y7wXSR0e/xpDbHOFaM1vdq73/xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707249962; a=rsa-sha256; cv=none; b=BIE68yzNGhIxODH9qykRN2AWn4GlM0Kz0FFXfUYHgJV7x9F3nWOXEI76nA+Y/RHSdfrkEo 9pUlMChV9QqAqzUDCHCUpc2uy0KafnHYot5i+tMf4581m7saLxbSw0SGaqk+IL30WOK4+j MMvRP7UMpS5q5V8+sDwAHOikdxgmn7laNtTODMzN+56XkMKG7+h+JagePF7nHzuazaDtzT P7lGh8gDA/5y/YOR45MlJUGhX1XiFG/D+PKLULIWfxmwaGLZYTKUJSi7UcDcdKp+0c6LuK cFewtaebcmTZDqOT7q+hScSdS4McyJ0qpTrao1w1ygVu6kTNhVO7sqJ0kJWQTg== 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 4TTvQ233Q8zd8S; Tue, 6 Feb 2024 20:06:02 +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 416K62Zr036070; Tue, 6 Feb 2024 20:06:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 416K62Re036067; Tue, 6 Feb 2024 20:06:02 GMT (envelope-from git) Date: Tue, 6 Feb 2024 20:06:02 GMT Message-Id: <202402062006.416K62Re036067@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: a0c82b3c9391 - main - x11/wofi: update to 1.4 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: a0c82b3c9391e7fae7f190ac06f1a25ea304d5ce Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0c82b3c9391e7fae7f190ac06f1a25ea304d5ce commit a0c82b3c9391e7fae7f190ac06f1a25ea304d5ce Author: Jan Beich AuthorDate: 2024-02-04 23:26:21 +0000 Commit: Jan Beich CommitDate: 2024-02-06 20:05:25 +0000 x11/wofi: update to 1.4 Changes: https://hg.sr.ht/~scoopta/wofi/log?rev=v1.4 Reported by: Repology --- x11/wofi/Makefile | 3 +-- x11/wofi/distinfo | 6 +++--- x11/wofi/files/patch-src_wofi.c | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/x11/wofi/Makefile b/x11/wofi/Makefile index aaa3af2984ec..b927b48e99cc 100644 --- a/x11/wofi/Makefile +++ b/x11/wofi/Makefile @@ -1,7 +1,6 @@ PORTNAME= wofi DISTVERSIONPREFIX= v -DISTVERSION= 1.3 -PORTREVISION= 3 +DISTVERSION= 1.4 CATEGORIES= x11 wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ diff --git a/x11/wofi/distinfo b/x11/wofi/distinfo index 6ed476a6214e..a24ed01fc62e 100644 --- a/x11/wofi/distinfo +++ b/x11/wofi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1665110113 -SHA256 (wofi-v1.3.tar.gz) = 7644e4e995bc027b7f3f411ceda82b3e2a72a4a424f6193663c27bbf00f23067 -SIZE (wofi-v1.3.tar.gz) = 77317 +TIMESTAMP = 1707089181 +SHA256 (wofi-v1.4.tar.gz) = 0c1190164ed80fbaae747d74a2a3c980e9f92d12f594c961596a7025822112d6 +SIZE (wofi-v1.4.tar.gz) = 79100 diff --git a/x11/wofi/files/patch-src_wofi.c b/x11/wofi/files/patch-src_wofi.c new file mode 100644 index 000000000000..36db8292717e --- /dev/null +++ b/x11/wofi/files/patch-src_wofi.c @@ -0,0 +1,26 @@ +https://todo.sr.ht/~scoopta/wofi/211 + +--- src/wofi.c.orig 2024-02-04 23:26:21 UTC ++++ src/wofi.c +@@ -1299,13 +1299,10 @@ static void do_copy(void) { + } + } + +-static void on_exit_set_custom_key_return_code(int status, void* data) { +- _UNUSED(data); +- if (status == EXIT_SUCCESS) { ++static void atexit_set_custom_key_return_code(void) { + fflush(stdout); + fflush(stderr); + _exit(custom_key_return_code); +- } + } + + static void do_custom_key(int custom_key_num) { +@@ -2064,5 +2061,5 @@ void wofi_init(struct map* _config) { + gtk_window_set_title(GTK_WINDOW(window), prompt); + gtk_widget_show_all(window); + +- on_exit(on_exit_set_custom_key_return_code, NULL); ++ atexit(atexit_set_custom_key_return_code); + }