From nobody Fri Jan 14 19:52:11 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 CB79E1966979; Fri, 14 Jan 2022 19:52:11 +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 4JbBlb5DkGz4cby; Fri, 14 Jan 2022 19:52:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642189931; 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=sXCVhtdd/KSBoduj0h1ls2gP5Ec9QxmlTRg0S7isFik=; b=xALWo3XXX+qs58Q3WMdcAS6Tl5BvNyFTif14RPpn7HXyhA2NSrbO94vpMhvc05JYiyNQ5F mmfTcTBjJwe4hjt0j1DCUhbUt1FmAMRNWkeok0tF1tQ1VbgIZ0E7se/uQjIwhN4utUmClk IVyiWr39eiXj2tucJGwAy6qZ+ZZy5XUOYKJwIWT++msVU8I5GZsKas/IbMSQzknRM/5WmB zNT66mgY991lrd6ohPwX5Qtg/WOpzoDq3Fhl/66Bz4UfFIMST54XHnp1c7Gg9LNyWCr7lj sPT20G1uTzDBI+fS0Duvx2ZRX3d9mC7mrKIhkI8kK9OBlHObbLKwQb2Aw9DrDg== 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 93F1119B3C; Fri, 14 Jan 2022 19:52:11 +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 20EJqBnX032247; Fri, 14 Jan 2022 19:52:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20EJqBVa032246; Fri, 14 Jan 2022 19:52:11 GMT (envelope-from git) Date: Fri, 14 Jan 2022 19:52:11 GMT Message-Id: <202201141952.20EJqBVa032246@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: 35a26791f4ad - main - CHANGES: CPU_AND, CPU_OR, CPU_XOR parameters changed 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: 35a26791f4ad6862e30710e1054d8b365a776c4a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642189931; 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=sXCVhtdd/KSBoduj0h1ls2gP5Ec9QxmlTRg0S7isFik=; b=Z9UjSHE+k/zK5ED29j0urT1KIFZkB5Ed05JN11j88RndrwoFMiSOOUTYrA2IuOkywzwTd0 t2an6n62K0XmXMWXfLmhCt1JDx0bON3nPMrYcR6XxurWYq58mmV9i21J5QQCXLYuG/50rO KKUsmEM6MShcZFPjy/MH/jUH9vyxZkkcwM6dICGC34suceIzijGoUR5qEzF9Sr07owRKgH McXAwNoCIOUXocBrhY5RHk7aAaI9w5MGsFBQvszRthPhdRQBiPb4cZCd1GrIilFOHwFLgi F/MuYK/vOwa3P1FyLJKYUv9G6Bnyvw53X8O96S3RzmAWUc/RBnydyrJgZWFOeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642189931; a=rsa-sha256; cv=none; b=Gov9xTCw3OSTzC/HraG5uDfMDsViMKRoKWeQz7qxQQzcLxvCqWUlz9Q7VdLpAjB6L/35tJ Z1cVYApYRcBLELEQuY+y/IYbBk9o41hhVRwaRn3n9QOl64X1ovirGlP2fHr4nH8Y8lX2hU iyVeRV8cj1nRIqYBv19hC+uQaCFdhn/d/j0XjiTcW/B5CISClIgXvfEqYSCRq3pVSCzRPc ymlO/+mz7ilWOwzyT2DDhOM09h6050FKo4uI5b/phvE1Eb31HDBfk2QQDBUsit6PGYnc8y 3E6uJ08hVqZZ9wgMxNovT/jRCFrJ5mr7gsdaD9wCM+rUSuiGibfYAo1FQUvZjA== 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=35a26791f4ad6862e30710e1054d8b365a776c4a commit 35a26791f4ad6862e30710e1054d8b365a776c4a Author: Stefan Eßer AuthorDate: 2022-01-14 19:47:11 +0000 Commit: Stefan Eßer CommitDate: 2022-01-14 19:47:11 +0000 CHANGES: CPU_AND, CPU_OR, CPU_XOR parameters changed The CPU_AND, CPU_ANDNOT, CPU_OR, and CPU_XOR macros have been modified to support programs that have been written for GLIBC. Describe the changes required to have ports support both the previous FreeBSD conventions and the new GLIBC compatible parameter list. MFH: 2022Q1 --- CHANGES | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGES b/CHANGES index e1136763ed79..06d80ace394d 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,21 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20220111: +AUTHOR: se@FreeBSD.org + + The CPU_AND, CPU_ANDNOT, CPU_OR, and CPU_XOR macros in 14-CURRENT + and 13-STABLE after this date have been made compatible with GLIBC + conventions. Specifically, they now take 3 arguments instead of 2. + Ports can check whether the CPU_ALLOC macro is defined and then + use the 3 parameter form, e.g.: + + #ifdef CPU_ALLOC + CPU_AND(dst, dst, src); + #else + CPU_AND(dst, src); + #endif + 20211211: AUTHOR: tcberner@FreeBSD.org