From nobody Fri Nov 11 15:50:08 2022 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 4N837N4p0Nz4f3ld; Fri, 11 Nov 2022 15:50:08 +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 4N837N4Hgsz4N6J; Fri, 11 Nov 2022 15:50:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668181808; 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=Fvyw4U9YaM25PgGNgouycB27G+E/goPRyRCDEF1TNb4=; b=Kf5ShS1HBN6vwlloar9b2jcQ25uis+LC+EViaNU87vJWyogiwqgsYVG1mNQShdxA/6Q+t9 vxpcB3CDeGyt6+Bi+AJnCmXDjz4DmK08Xcvlto6AbGNsZogwjBl5h9FdF8OhMhH+ivejEz hCj5WpR33PY4C925ov7xjen7PDspYOJTFwEnet/IEKmU8WQynUNEOQztIwiS8TIOk7kntM X3WkoQnu8mhkbW7z7bu/xaN17DcqR3vx3b6Vi7Oc+HL17LOp1AVfBFzRP+p8E24TKGz21v PmlG5HS+NcElz1jyWHQyaOokesmupSSqw9MOIbbStHr8BxEsWeqPtn7PSuc0Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668181808; 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=Fvyw4U9YaM25PgGNgouycB27G+E/goPRyRCDEF1TNb4=; b=xC1eikGlpEvaUXeoWpQkrqXT8D59ddukWUoJNtycwKHQ7s6Frz6C+/qAiOEVexjpddzMom kMd8a6hd0yOABifxKGBb4xw0QPUoX84EI8mlN4lWxMm1T3xwgF5PScs1MzUIkImA9cApXK SXHVNjSzGa6xhf0KY8Jc6lmLzvWL5rmEYwiFJ2OjIslRf9BDUNO/hZCK5n6F4gkNi4nhEI umyExY42C0uerXCvd1a5HFxGOhPDa9UkEWNHUZ6TDLISlyxTEffaaTC37wdH5pqv2SEKJ1 AHFeakLcJagyfZAsXHWFgKDAUexmgupGGt6c2ZmBTFrSryadHgcBsLb+uIZq+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668181808; a=rsa-sha256; cv=none; b=M9XO6UBdyw2BBjW/NxfHZL4RgK6186i4rpEkH/7sV/0CzkiCUknfkfRD2+XbVrQuM30z3G aoymiZjWBj6JE1zJJvnpqE+gEKB+XX3Mcuggx6p70EDxVsq5d9IxIYhnHivGKtEDff8Rim RNidMW70X3VHFiC0XXOUzBPSZ2950oL81YUc51eTfqtq27NQTens9Xbsy23S5GCo/MO20/ dUgW9WO4T+8RDNJyTtHuqLZNPtdH8IuGDEbUFjNH3ZkHwMBtR1A90tVgJ443v/Xve8jwOw 5EJk4dtv7xTONyIjbXCuuOB/a6v3yWOAD1goVI0xRP16h0bRWxNa/NC7B6mHsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N837N3LqfznkL; Fri, 11 Nov 2022 15:50:08 +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 2ABFo8R7056621; Fri, 11 Nov 2022 15:50:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ABFo8Rf056618; Fri, 11 Nov 2022 15:50:08 GMT (envelope-from git) Date: Fri, 11 Nov 2022 15:50:08 GMT Message-Id: <202211111550.2ABFo8Rf056618@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: ce7206b2c356 - main - audio/jack: unbreak 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: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce7206b2c356180cb74518e348fc0800d2c62163 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce7206b2c356180cb74518e348fc0800d2c62163 commit ce7206b2c356180cb74518e348fc0800d2c62163 Author: Dima Panov AuthorDate: 2022-11-11 15:47:54 +0000 Commit: Dima Panov CommitDate: 2022-11-11 15:49:32 +0000 audio/jack: unbreak build with Python 3.11 (+) 'U' is default and deprecated since python-3.3, becomes a failure in 3.11. See also: https://github.com/jackaudio/jack2/issues/898 Obtained from: Gentoo Approved by: portmgr blanket (trivial fix build) --- audio/jack/files/patch-python311 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/audio/jack/files/patch-python311 b/audio/jack/files/patch-python311 new file mode 100644 index 000000000000..6900f5048660 --- /dev/null +++ b/audio/jack/files/patch-python311 @@ -0,0 +1,19 @@ +'U' is default and deprecated since python-3.3, becomes a failure in 3.11. + +Just a quick fix (rather than bump waf) while waiting for upstream's +plans to migrate to meson: +https://github.com/jackaudio/jack2/issues/898 +--- waflib/ConfigSet.py ++++ waflib/ConfigSet.py +@@ -314,3 +314,3 @@ + tbl = self.table +- code = Utils.readf(filename, m='rU') ++ code = Utils.readf(filename, m='r') + for m in re_imp.finditer(code): +--- waflib/Context.py ++++ waflib/Context.py +@@ -664,3 +664,3 @@ + try: +- code = Utils.readf(path, m='rU', encoding=encoding) ++ code = Utils.readf(path, m='r', encoding=encoding) + except EnvironmentError: