git: a2d50f72e2b5 - main - devel/mrc: Add patch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 22 Mar 2026 05:38:16 UTC
The branch main has been updated by yuri:

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

commit a2d50f72e2b599f4b0272a48508999b16d1a6adc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-22 04:36:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-22 05:38:12 +0000

    devel/mrc: Add patch
---
 devel/mrc/files/patch-src_mrc.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/devel/mrc/files/patch-src_mrc.cpp b/devel/mrc/files/patch-src_mrc.cpp
new file mode 100644
index 000000000000..da9f102d5802
--- /dev/null
+++ b/devel/mrc/files/patch-src_mrc.cpp
@@ -0,0 +1,12 @@
+-- https://github.com/mhekkel/mrc/issues/18
+
+--- src/mrc.cpp.orig	2026-03-22 04:35:33 UTC
++++ src/mrc.cpp
+@@ -47,6 +47,7 @@
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <unistd.h>
+ 
+ #include <mcfp/mcfp.hpp>
+