From nobody Thu Jan 25 03:19:42 2024 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 4TL5fQ5sCnz57YHf; Thu, 25 Jan 2024 03:19:42 +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 4TL5fQ4Ctxz4H5S; Thu, 25 Jan 2024 03:19:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706152782; 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=AstW+c/ybWoV8iMsgxjEedxSTKaI+0rZpLv1HFTpthU=; b=lEr42Sd3x1F2ODlq8ubjgVo3xxNENN5IVUtQhrrxU0PyPDsVZgJ+yLkGZdko1JRuAFcxSC DD6B+/dUGjTNs7qeqJbLbIOl7UVlyAywyEyh8Lbz46Eee63Tni9UU9yFmeN8Iux+i2YDMR yfpiAC2FYnl4xaC0LmuMALbCRrLB4pfJyZ30I9qdtfBiPaaF1DW1Ku+fhV97GytT/NGx1C w22aXDmHnspkDbT5/zEg17193IWpp26jtjVF1kYK+ziQw32QaFQk6JbkERiWrsiqs1ZtZs FuaAQDZMck1lSXLxrpfugIOTisfI0a7WcNUAZKpHWvlWCxgqsrCEI5XgbqOxpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706152782; 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=AstW+c/ybWoV8iMsgxjEedxSTKaI+0rZpLv1HFTpthU=; b=NeciCItnmcp/ngWM42Dpaq+PiR8eMFwNcCLHZVr00mlupSBLOddbZMZi17kNQNX4qsy1O8 vcC//pKKR2878JbUN70WD51oK8j9w4wfLh9eCAC4NWFvOWljsXC4Kmkh61bUoO9oxECGa9 s9zibR+qlMJBsTf/I2kcGTGsYTGoKD6pjB7GtNmzi1dPl8gmhbfd5PnK0dqaSLuN+/NYkt VLF94bQ10Vbrs2ZHWOA+B365K96vBFU5ga0ZWEMLPvZ33QEiZAe0IEygjT1/a8ktL7GAQu D9i66P9fGtz1gvfB3/v0Gyf3YIHBUNhIfTSOmc+wnfLdyJvWIBrFX58S+QfL/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706152782; a=rsa-sha256; cv=none; b=PngxL1bX+cDKmBvJHwtIMY3jzjK+0Twq9oLUX983V2dx3U6fMHv4n0BJFXUlIl8hPzHvf5 0bCJwMeEjeEfoKGsfHmtykWXS5EyZzdhvxW5qRLZqXECPgEWbvJswF86HBEVncNnBOInSU imYopxe5bmvMmQxZV2ZSemttItHL3VdMb+F8ixRMJMjtGWxTWyvSU4C0miZTIpXI57B6ca XtKsX1uoShfflSlFWtD/uhwsdq5KK35NmMLcWzqHxzESmRup7Z4zEZ4AJJMmEHR0JICKP8 GJ8bxXu7D8iIAcpJSTznZnfquzOiLuOvAgrzo6m8+8/VkQK+a+QnMlJpuLwHhQ== 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 4TL5fQ36Tzzhgd; Thu, 25 Jan 2024 03:19:42 +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 40P3JgSs064221; Thu, 25 Jan 2024 03:19:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40P3Jg3h064218; Thu, 25 Jan 2024 03:19:42 GMT (envelope-from git) Date: Thu, 25 Jan 2024 03:19:42 GMT Message-Id: <202401250319.40P3Jg3h064218@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: cea6be3b48fa - main - graphics/mypaint: Fix build with python-3.11 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: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cea6be3b48fa041c65b505f8383f86bfb15b6ad1 Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=cea6be3b48fa041c65b505f8383f86bfb15b6ad1 commit cea6be3b48fa041c65b505f8383f86bfb15b6ad1 Author: Wen Heping AuthorDate: 2024-01-25 03:17:39 +0000 Commit: Wen Heping CommitDate: 2024-01-25 03:19:13 +0000 graphics/mypaint: Fix build with python-3.11 --- graphics/mypaint/files/patch-setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/graphics/mypaint/files/patch-setup.py b/graphics/mypaint/files/patch-setup.py index 7b72a37085a4..b27b0ea541c6 100644 --- a/graphics/mypaint/files/patch-setup.py +++ b/graphics/mypaint/files/patch-setup.py @@ -1,5 +1,14 @@ ---- setup.py.orig 2022-01-09 11:24:00 UTC +--- setup.py.orig 2020-05-29 15:18:55 UTC +++ setup.py +@@ -632,7 +632,7 @@ class InstallScripts (install_scripts): + self.announce("installing %s as %s" % (src, targ_basename), level=2) + if self.dry_run: + return [] +- with open(src, "rU") as in_fp: ++ with open(src, "r") as in_fp: + with open(targ, "w") as out_fp: + line = in_fp.readline().rstrip() + if line.startswith("#!"): @@ -867,7 +867,6 @@ def get_ext_modules(): '-Wall', '-Wno-sign-compare',