1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Ports: Update flex's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:35 +04:30 committed by Ali Mohammad Pur
parent 17ef3530cd
commit 4fa66c91d5
12 changed files with 195 additions and 74 deletions

View file

@ -0,0 +1,25 @@
From 2aecd57dbc3eb793db2996807f4c17e0c5880d75 Mon Sep 17 00:00:00 2001
From: Brian Callahan <bcallah@openbsd.org>
Date: Thu, 23 Jan 2020 23:43:31 -0500
Subject: [PATCH 3/6] Replace libc's regex includes with pcre2
---
src/flexdef.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/flexdef.h b/src/flexdef.h
index 9dac654..2bdf9fb 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -72,7 +72,7 @@
#include <stdbool.h>
#include <stdarg.h>
/* Required: regcomp(), regexec() and regerror() in <regex.h> */
-#include <regex.h>
+#include <pcre2posix.h>
/* Required: strcasecmp() in <strings.h> */
#include <strings.h>
#include "flexint.h"
--
2.36.1