From nobody Tue Jun 21 21:00:39 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 DA44486659E; Tue, 21 Jun 2022 21:00:40 +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 4LSJnh02Z9z3CwD; Tue, 21 Jun 2022 21:00:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845240; 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=H+tTFxEUle0uwpJUdJFPMc0dyEFsOmo8yuZqB+hMqfM=; b=s7kgZe9bY0zdFoKu0z5iRPJ5bSUmBJdV9CFSbeR0CXShkSw556rBHMvun55C0HcRVMD40M 0caOfhpaDZv84vp67cusHXulnwp4u2HdiOeBZHxIvOAfDGys9Aiujx39eCUqG2XvCSmjoR k43aEap8uWHMlY5YJ52EyiQTLlZwE7rE+EEYTk9rUBha0pbcWwQ68YnZP72L+O3QBbyN0k SPIeqpZGQeXzDpPA06FiWlNKNI843Ko6P3BjELzJrAxLF/A7smjTDaKMmXUOy8P6n47Ol+ KQgHOSAmv3cCVFsT4/11c7HHw4utobQGVsDcWhbtBUWeTBkYpd+wkGOIj8FGEA== 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 85AAD19190; Tue, 21 Jun 2022 21:00:39 +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 25LL0dco024572; Tue, 21 Jun 2022 21:00:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LL0dPc024571; Tue, 21 Jun 2022 21:00:39 GMT (envelope-from git) Date: Tue, 21 Jun 2022 21:00:39 GMT Message-Id: <202206212100.25LL0dPc024571@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 030111b816ea - main - sysutils/py-psutil: Fix failing __FreeBSD_version check 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 030111b816ead69e62d5243b845450bc9cce3457 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655845240; 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=H+tTFxEUle0uwpJUdJFPMc0dyEFsOmo8yuZqB+hMqfM=; b=cGNB/Dhw+dbwKKUMN/07c78ifQU3ZJRNWIYyRi8BalBtCGK8z807pvDOQrJ/WxT2THA0xq uUuS6pnixHnRaF36+WDySxKeDGLztzZC6BN8/UvKB6df4J2w6/pUxNStLtGBQNhCJgDCAS IvNYb1W178/OWcCkEWxTTDv/DnAeAmikZM8tX7UJOPS05X+RG44XuaH1WrhYhjEyY/5FVJ a4McXc5VscRDkMp45AxOl4vbDTY0qIT5beRqB6LrrpHPFoir/GM2akmp17j5DzJMk9kFrg UEWiVVsVLFnTvy6er8oT2+DbiNi03RrBOYMr02l1qMrtTzzQTd6/LK5i/so0Qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655845240; a=rsa-sha256; cv=none; b=uVlk3kJtbqmJw450FiaMmNApMXqKysCsUZ0qv86LJIhDd/gC8GH+vemDba09mQQYp8Ga6k 3Bd8W1R0Nrqs68DmoWrlZBFECjTOkxAxF/J9v+QZkrzg/zgmzoyOWBzdOVaN2YbWuX/ZfT 0RULQIbaGINrCjc4Z+X82p/+3Mio4u3m1+7T4ofI54FkWT2QZA3OTjG5buBpuawXc9ybd2 8OsPSo0FO9Y0OBLWVrEH6rWyaVQOT0YxM646YHsF7DUJ+pQOevBVxJXE6Jao4uD9n0nxUr WFhJxSWkLdOTFkQ6tq0aVX3URVhWysIOjzVD3/FQzGqUaFexw5xs4LLutZsF1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=030111b816ead69e62d5243b845450bc9cce3457 commit 030111b816ead69e62d5243b845450bc9cce3457 Author: Torsten Blum AuthorDate: 2022-06-21 20:58:58 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 20:58:58 +0000 sysutils/py-psutil: Fix failing __FreeBSD_version check - Bump PORTREVISION for package change psutil 5.9.1 does not include in arch/freebsd/mem.c, causing the __FreeBSD_version check there not not work properly and thus breaking the port on systems without COMPAT_FREEBSD7. PR: 264807 Reference: https://github.com/giampaolo/psutil/issues/2113 --- sysutils/py-psutil/Makefile | 1 + sysutils/py-psutil/files/patch-psutil_arch_freebsd_mem.c | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile index a17f74b073d1..8722ee5280e3 100644 --- a/sysutils/py-psutil/Makefile +++ b/sysutils/py-psutil/Makefile @@ -2,6 +2,7 @@ PORTNAME= psutil PORTVERSION= 5.9.1 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/py-psutil/files/patch-psutil_arch_freebsd_mem.c b/sysutils/py-psutil/files/patch-psutil_arch_freebsd_mem.c new file mode 100644 index 000000000000..cbe44517b448 --- /dev/null +++ b/sysutils/py-psutil/files/patch-psutil_arch_freebsd_mem.c @@ -0,0 +1,10 @@ +--- psutil/arch/freebsd/mem.c.orig 2022-01-17 12:10:50 UTC ++++ psutil/arch/freebsd/mem.c +@@ -6,6 +6,7 @@ + + + #include ++#include + #include + #include + #include