From nobody Mon Jan 03 10:55:24 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 74579193265F; Mon, 3 Jan 2022 10:55:25 +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 4JSCMK19lbz4skc; Mon, 3 Jan 2022 10:55:25 +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 086AF240EC; Mon, 3 Jan 2022 10:55:25 +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 203AtO4q025432; Mon, 3 Jan 2022 10:55:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 203AtOus025431; Mon, 3 Jan 2022 10:55:24 GMT (envelope-from git) Date: Mon, 3 Jan 2022 10:55:24 GMT Message-Id: <202201031055.203AtOus025431@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan E=C3=9Fer?= Subject: git: 91efb4d016bc - main - net/haproxy-devel: fix build on -CURRENT 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: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 91efb4d016bcb7953f00a022f6bfe49a84dc61ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641207325; 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=9vfvsfhuQx3OJfHEzsBEf2+ij3WuDDuHGx2efkW5dr4=; b=OUpDerY02eGK2m0IoRkHQqiSIYYP8IYJDx6Ac6PoD2+oZCxFESbwZx+8IvXmIXlBrGBltr XXhzdSQrg+00hef+B8eQkM+hAJqgFrx5gUGIVzjshjsCys4MIDgi49oq6ZBd7pwxXJY+hg wdiA2XyaVkNuNcXwAQk99Zm+2QQU/hJAZHbj1TrN7M+uZ4uG/s7xxO+gPVHnHEw2VYF7O9 Nv3WWj9XdRFXzV+p/m9nFUTu0cVas27hISp8/1hCUghqMHjgh7mAuNe4upnyk4W4vA1x4h yNpRa8SwZq38wCTlcX0Swsb0D5RA4GbZk7DvJYdgA56jlR8xb3uRgJZoUxo11w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641207325; a=rsa-sha256; cv=none; b=vRWZ4gO/9xRMYS37ZNGpy4JMqrjGXZNo0laDVcSoK2yeiTkx25FMwE17A+kpSqcXEB7cDu /WGJf0GTWhN8QyVyZGAGSbrmkEj45+9MR2jD9PlxTB5pVDoi1fF5fEp4JLrvDLC8QhF4F5 ljf/PlPJnUFQzfnduMQJtBys2t73DxMCbIS6hqLz7FzIy4IiIbK5FKvNLAP36pbpmcYzBU ONC5NzlSWjscirQMZwNyyA90qel34d6HUx+TmqBSrm+1gEkgpQlbE0upnN421SsKAVffDY djvJJq6kM9FbqX4C5lihFbQJy0sV9YRZCAA9w6aj4NupCN7R4TKHBYKSkSH43w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=91efb4d016bcb7953f00a022f6bfe49a84dc61ac commit 91efb4d016bcb7953f00a022f6bfe49a84dc61ac Author: Stefan Eßer AuthorDate: 2022-01-03 10:55:01 +0000 Commit: Stefan Eßer CommitDate: 2022-01-03 10:55:01 +0000 net/haproxy-devel: fix build on -CURRENT The CPU_SET macros in -CURRENT have been made compatible with GLIBC. A simple test for the new signature of CPU_AND, CPU_OR, ... is the existence of a CPU_ALLOC macro. Approved by: portmgr (implicit) MFH: 2022Q1 --- net/haproxy-devel/files/patch-src_cpuset.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net/haproxy-devel/files/patch-src_cpuset.c b/net/haproxy-devel/files/patch-src_cpuset.c new file mode 100644 index 000000000000..42f04b37e6f6 --- /dev/null +++ b/net/haproxy-devel/files/patch-src_cpuset.c @@ -0,0 +1,14 @@ +--- src/cpuset.c.orig 2021-12-23 16:47:51 UTC ++++ src/cpuset.c +@@ -53,7 +53,11 @@ void ha_cpuset_and(struct hap_cpuset *dst, const struc + CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset); + + #elif defined(CPUSET_USE_FREEBSD_CPUSET) ++#if defined(CPU_ALLOC) ++ CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset); ++#else + CPU_AND(&dst->cpuset, &src->cpuset); ++#endif + + #elif defined(CPUSET_USE_ULONG) + dst->cpuset &= src->cpuset;