From nobody Sat Oct 01 14:53:00 2022 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 4MfqpP23BYz4V5tv; Sat, 1 Oct 2022 14:53:01 +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 4MfqpP1bY1z3pZB; Sat, 1 Oct 2022 14:53:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664635981; 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=sk17o7t8gPYOWeCPfSC3mShKxaWAL51qJFTReifAxI8=; b=aixzmq1m3IAO7jpta/EnTzp2Bi0+X4fKoE/KTItyN9G91bVqtDRfAIWWBcunLG8CeuAISk Pn6SCgZDwyrsBe5KV3NcDGrAzqxyMmPpDnLAPsk8m3RIUuh+hUvdh6UBg8LNV7vAlLUYrR lUib8IbJ5lDGRUEwsjKqH6jqASC4TFARVM/p9IkGjviTvy1krti9d8EwHnRC8jBddGAWrE X9o2pOHndlx+HivFKC+qP1pbfGg30aXh0SpvnYQuk743VCSHBulqFMNep4QG0VLa7ljw/i GVLAg9UjgSTTBRw98wLXNEE3Bq9xKH8OeNe7corgOIxnrL1sscCYYhrnY3TMqw== 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 4MfqpP0j18zYsx; Sat, 1 Oct 2022 14:53:01 +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 291Er1Ji048314; Sat, 1 Oct 2022 14:53:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 291Er0E4048313; Sat, 1 Oct 2022 14:53:00 GMT (envelope-from git) Date: Sat, 1 Oct 2022 14:53:00 GMT Message-Id: <202210011453.291Er0E4048313@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: c212fb9fccea - main - devel/py-grpcio-tools: update to 1.49.1, also fix building on i386. 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: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c212fb9fcceacf49ac4f236c7944aaec5d3cfa57 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664635981; 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=sk17o7t8gPYOWeCPfSC3mShKxaWAL51qJFTReifAxI8=; b=DXbKu3ifaa7FJa0Huq57Bd6aY8W9NrYSzDAgDHIdWMJ1HH4Oy3VLGAmGTJywtay34rE4Sa LmwTgcMGarDUjX2ukRWtjVJaMznNKurDQ4iOCC8O4JbHOAKkZ9sKgrVmitYrk2wFqhFrD7 yGnDrv4Yf8+K/yJtsTmudhI3RMJe4SbQrAAfvHvoVAVzELKLVukwHTfOylOZESBo8apQQK 5Jp0tdJHJVdm/47hYiQuE8xj3uweQHtItgW+bVPgePQu0HznJ86TP8PS93dL1yVnh2an9z aFin0Qm9injv/1vEQk9KVjJOKBZ+LK/EKUhVXfiQtwvu/OcBp36Jk6kWYCRcag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664635981; a=rsa-sha256; cv=none; b=eh/lvTzqTv5Amyqqui1qlLtnDuXAA2Sn0bjCqPun2Rm65rOUvyH8WiZp2o836jceM1oY7o dZUn/8onVKL3RLF4kyKP0cnpErk0Ow9lbNduDeUC8W10B5NhqJ+ytoHvmGU7t58Aqdb7qG BFmSzlDMmKlIKkhK9Bc1+VOET8Cilg3sjasVhOD72uu3fnsNOv5XqVG77TEM0h7DxplOYV 9CteeU7Wo1n6O3TGQLuMjMJsz97tJvOo3xFZdt/AaXNoeS0uYIK1dQ1ywbveD4+ciHepSi 6+UhRdUtny1ip1+Kzq314oyPi0mUWYXhw7uFK6oELkEyOAZGu9foLI3sbiNvkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=c212fb9fcceacf49ac4f236c7944aaec5d3cfa57 commit c212fb9fcceacf49ac4f236c7944aaec5d3cfa57 Author: Vanilla I. Shu AuthorDate: 2022-10-01 14:48:20 +0000 Commit: Vanilla I. Shu CommitDate: 2022-10-01 14:52:09 +0000 devel/py-grpcio-tools: update to 1.49.1, also fix building on i386. --- devel/py-grpcio-tools/Makefile | 2 +- devel/py-grpcio-tools/distinfo | 6 ++--- devel/py-grpcio-tools/files/patch-setup.py | 29 ++++++++++++++++++++++ ...arty_protobuf_src_google_protobuf_arena__impl.h | 11 ++++++++ 4 files changed, 44 insertions(+), 4 deletions(-) diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile index fc7498dfefe8..eba564cbe266 100644 --- a/devel/py-grpcio-tools/Makefile +++ b/devel/py-grpcio-tools/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpcio-tools -PORTVERSION= 1.49.0 +PORTVERSION= 1.49.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-grpcio-tools/distinfo b/devel/py-grpcio-tools/distinfo index 82ca0c0a8b98..9dcfdfa0e887 100644 --- a/devel/py-grpcio-tools/distinfo +++ b/devel/py-grpcio-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1663507524 -SHA256 (grpcio-tools-1.49.0.tar.gz) = 16ac93ac515194f63febcf6f8a96a7f17390268972acc15e765d257f5008f2af -SIZE (grpcio-tools-1.49.0.tar.gz) = 2238106 +TIMESTAMP = 1664077947 +SHA256 (grpcio-tools-1.49.1.tar.gz) = 84cc64e5b46bad43d5d7bd2fd772b656eba0366961187a847e908e2cb735db91 +SIZE (grpcio-tools-1.49.1.tar.gz) = 2252679 diff --git a/devel/py-grpcio-tools/files/patch-setup.py b/devel/py-grpcio-tools/files/patch-setup.py new file mode 100644 index 000000000000..05e7375feb7d --- /dev/null +++ b/devel/py-grpcio-tools/files/patch-setup.py @@ -0,0 +1,29 @@ +--- setup.py.orig 2022-10-01 13:52:51 UTC ++++ setup.py +@@ -149,7 +149,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: + # We need to statically link the C++ Runtime, only the C runtime is + # available dynamically + EXTRA_ENV_COMPILE_ARGS += ' /MT' +- elif "linux" in sys.platform or "darwin" in sys.platform: ++ elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: + EXTRA_ENV_COMPILE_ARGS += ' -fno-wrapv -frtti' + if EXTRA_ENV_LINK_ARGS is None: + EXTRA_ENV_LINK_ARGS = '' +@@ -175,7 +175,7 @@ if EXTRA_ENV_LINK_ARGS is None: + if "darwin" in sys.platform: + EXTRA_ENV_LINK_ARGS += ' -Wl,-exported_symbol,_{}'.format( + _EXT_INIT_SYMBOL) +- if "linux" in sys.platform or "darwin" in sys.platform: ++ if "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: + EXTRA_ENV_LINK_ARGS += ' -lpthread' + if check_linker_need_libatomic(): + EXTRA_ENV_LINK_ARGS += ' -latomic' +@@ -206,7 +206,7 @@ if "win32" in sys.platform: + DEFINE_MACROS += (('WIN32_LEAN_AND_MEAN', 1),) + if '64bit' in platform.architecture()[0]: + DEFINE_MACROS += (('MS_WIN64', 1),) +-elif "linux" in sys.platform or "darwin" in sys.platform: ++elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: + DEFINE_MACROS += (('HAVE_PTHREAD', 1),) + + # By default, Python3 distutils enforces compatibility of diff --git a/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_arena__impl.h b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_arena__impl.h new file mode 100644 index 000000000000..f96fda395196 --- /dev/null +++ b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_arena__impl.h @@ -0,0 +1,11 @@ +--- third_party/protobuf/src/google/protobuf/arena_impl.h.orig 2022-09-25 04:12:11 UTC ++++ third_party/protobuf/src/google/protobuf/arena_impl.h +@@ -640,7 +640,7 @@ class PROTOBUF_EXPORT ThreadSafeArena { + #ifdef _MSC_VER + #pragma warning(disable : 4324) + #endif +- struct alignas(kCacheAlignment) CacheAlignedLifecycleIdGenerator { ++ struct alignas(alignof(std::atomic)) CacheAlignedLifecycleIdGenerator { + std::atomic id; + }; + static CacheAlignedLifecycleIdGenerator lifecycle_id_generator_;