From nobody Mon Dec 13 07:04:21 2021 X-Original-To: dev-commits-ports-main@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 4DA4118D090D; Mon, 13 Dec 2021 07:04:22 +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 4JCCDQ0TBMz3MGt; Mon, 13 Dec 2021 07:04:22 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E40F11063C; Mon, 13 Dec 2021 07:04:21 +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 1BD74Lr3093642; Mon, 13 Dec 2021 07:04:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BD74LBa093641; Mon, 13 Dec 2021 07:04:21 GMT (envelope-from git) Date: Mon, 13 Dec 2021 07:04:21 GMT Message-Id: <202112130704.1BD74LBa093641@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 52e661c90e93 - main - x11/kitty: fix pass_selection_to_program action List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 52e661c90e93046efd4799dbc6aedfbe0d9ecddb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639379062; 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=N8zyvT5Wmu6LqrzKt9Pjk29MwU8nuZ/05WlSuWUYM+M=; b=oQGoTaomrqg3B6qKIZsbCuS97cB0VnADsdPs7sTInCtwjUBXutSKtigdXwYOMhr7D7dT/G y8fAhKLw/pv2/snDPXenOKyAnOkeK2niWWTCnh/8CRPr/I2TybH23l03JNm+6j6PPB+3jb +Aa2rJIqutZaie+qrV6K0uz8eskqupIb68qdfd9rfVX65xTsJkBL6bXXjVPRi8oD1+r2nB GTUy64h6NoxHtyfyg7lTMrXRE/kenKYBr1uRjzTDXOWsIp7bupu+rns/CtcRpmhojbtMGM R2BZIr4xuBx+h9cD14zBwCXZ4ua6U3lRGfeMPUsD8R3hig+KFeFuD/mkIfMJzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639379062; a=rsa-sha256; cv=none; b=XL6AHq9dzgXuvUrTUqv0tzqoNAHUmLa1Ym+oxVYNJOLU/5BhJ30tGXmOFazK9z8dMMvVZ9 bZxzI/o7me/Vlts9IwpA6451I88MFADtFwY+XIgOcnCGYq8/6tx2urd3d5vNTsbNPA1J/H zQlnrI8wZdRKn8J3xhkL6KbVNqYLHIK56fFc9wM1P/rlE6p6K7gXVaPqE4Bxv4zlfGXChl Vll+I7LjFLAaUPp5Xa1xg9rFwgjZMZJQnnOHsshyxu4uj+AmHsOqiSrcGONyogpghQTYbz vkr/YDRY8mV/SI1WVawhdkywyrO+7YPcpU2WtnYwI1ftUvzHI2Hxp+CarHj9ZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=52e661c90e93046efd4799dbc6aedfbe0d9ecddb commit 52e661c90e93046efd4799dbc6aedfbe0d9ecddb Author: Jose G. Juanino AuthorDate: 2021-12-13 07:01:45 +0000 Commit: Hiroki Tagato CommitDate: 2021-12-13 07:03:59 +0000 x11/kitty: fix pass_selection_to_program action PR: 259765 Approved by: Alexis Praga (maintainer) --- x11/kitty/Makefile | 1 + x11/kitty/files/patch-kitty_child.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index fefa484c94a8..dd622317752c 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,6 +1,7 @@ PORTNAME= kitty DISTVERSIONPREFIX= v DISTVERSION= 0.23.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= alexis.praga@free.fr diff --git a/x11/kitty/files/patch-kitty_child.py b/x11/kitty/files/patch-kitty_child.py new file mode 100644 index 000000000000..d55816ecc8a4 --- /dev/null +++ b/x11/kitty/files/patch-kitty_child.py @@ -0,0 +1,11 @@ +--- kitty/child.py.orig 2021-11-10 21:33:51 UTC ++++ kitty/child.py +@@ -45,7 +45,7 @@ else: + return list(filter(None, f.read().decode('utf-8').split('\0'))) + + def cwd_of_process(pid: int) -> str: +- ans = '/proc/{}/cwd'.format(pid) ++ ans = subprocess.run(["pwdx", pid], capture_output=True).stdout.split()[1].decode("utf-8") + return os.path.realpath(ans) + + def _environ_of_process(pid: int) -> str: