diff --git a/lang/gcc16-devel/files/patch-include_libiberty.h b/lang/gcc16-devel/files/patch-include_libiberty.h new file mode 100644 index 000000000000..72bd42597771 --- /dev/null +++ b/lang/gcc16-devel/files/patch-include_libiberty.h @@ -0,0 +1,11 @@ +--- include/libiberty.h.orig 2026-07-25 22:32:17 UTC ++++ include/libiberty.h +@@ -217,7 +217,7 @@ extern int mkstemps(char *, int); + + /* Make memrchr available on systems that do not have it. */ + #if !defined (__GNU_LIBRARY__ ) && !defined (__linux__) && \ +- !defined (HAVE_MEMRCHR) ++ !defined (__FreeBSD__) && !defined (HAVE_MEMRCHR) + extern void *memrchr(const void *, int, size_t); + #endif +