git: 35a26791f4ad - main - CHANGES: CPU_AND, CPU_OR, CPU_XOR parameters changed

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Fri, 14 Jan 2022 19:52:11 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35a26791f4ad6862e30710e1054d8b365a776c4a

commit 35a26791f4ad6862e30710e1054d8b365a776c4a
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-01-14 19:47:11 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
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