1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 07:15:07 +00:00
serenity/Ports/mandoc/patches/0005-Use-pcre2-for-regex.patch

22 lines
531 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Callahan <bcallah@openbsd.org>
Date: Sat, 25 Jan 2020 21:20:39 -0500
Subject: [PATCH] Use pcre2 for regex
---
dbm_map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbm_map.c b/dbm_map.c
index 87c085d..d5c620e 100644
--- a/dbm_map.c
+++ b/dbm_map.c
@@ -36,7 +36,7 @@
#endif
#include <errno.h>
#include <fcntl.h>
-#include <regex.h>
+#include <pcre2posix.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>