git: b07e847dd98f - stable/13 - libcbor: Ignore errors for unknown #pragmas

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 12:05:46 UTC
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=b07e847dd98f60433310a2380d6be2e7b23c42ae

commit b07e847dd98f60433310a2380d6be2e7b23c42ae
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-05-07 18:44:52 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-09-08 12:04:02 +0000

    libcbor: Ignore errors for unknown #pragmas
    
    libcbor embeds clang-specific #pragmas that GCC then warns about.
    
    Reviewed by:    emaste
    
    (cherry picked from commit 6ca0468a2f23c82d6cdde2af1a42b62af3664766)
---
 lib/libcbor/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libcbor/Makefile b/lib/libcbor/Makefile
index 5ae2c34a5963..c9d86c0b95ad 100644
--- a/lib/libcbor/Makefile
+++ b/lib/libcbor/Makefile
@@ -30,6 +30,7 @@ SRCS+=	cbor/internal/unicode.c
 CFLAGS+= -I${DIST}/src -I${.CURDIR}
 
 WARNS?=	2
+IGNORE_PRAGMA=
 MAN=
 
 .include <bsd.lib.mk>