diff --git a/devel/tinycbor/files/patch-tests-parser-tst_parser.cpp b/devel/tinycbor/files/patch-tests-parser-tst_parser.cpp new file mode 100644 index 000000000000..77a3c01ce105 --- /dev/null +++ b/devel/tinycbor/files/patch-tests-parser-tst_parser.cpp @@ -0,0 +1,12 @@ +--- tests/parser/tst_parser.cpp.orig 2026-02-18 17:25:07 UTC ++++ tests/parser/tst_parser.cpp +@@ -22,7 +22,9 @@ + ** + ****************************************************************************/ + ++#if !defined(__FreeBSD__) + #define _XOPEN_SOURCE 700 ++#endif + #define _DARWIN_C_SOURCE 1 /* need MAP_ANON */ + #include + #include "cbor.h"