1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 00:35:08 +00:00
serenity/Ports/mandoc/patches/0006-Use-pcre2-for-regex.patch
2022-05-19 20:17:10 +04:30

25 lines
524 B
Diff

From e4b3fb04945980f8546c7437cb345fc0cb67f58d Mon Sep 17 00:00:00 2001
From: Brian Callahan <bcallah@openbsd.org>
Date: Sat, 25 Jan 2020 21:20:39 -0500
Subject: [PATCH 6/9] Use pcre2 for regex
---
dbm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbm.c b/dbm.c
index f6b1259..3dc034a 100644
--- a/dbm.c
+++ b/dbm.c
@@ -31,7 +31,7 @@
#include <err.h>
#endif
#include <errno.h>
-#include <regex.h>
+#include <pcre2posix.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
--
2.36.1