summaryrefslogtreecommitdiff
path: root/Ports/mandoc/patches/0004-Use-pcre2-for-regex.patch
blob: c219f937ac21dc377e0757b22ba2ff2bfd85e5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

---
 dba_read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dba_read.c b/dba_read.c
index e976057..6183dcb 100644
--- a/dba_read.c
+++ b/dba_read.c
@@ -19,7 +19,7 @@
  * The interface is defined in "dba.h".
  * This file is seperate from dba.c because this also uses "dbm.h".
  */
-#include <regex.h>
+#include <pcre2posix.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>