mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:47:35 +00:00
Ports: Update flex's patches to use git patches
This commit is contained in:
parent
17ef3530cd
commit
4fa66c91d5
12 changed files with 195 additions and 74 deletions
34
Ports/flex/patches/0002-Don-t-use-libc-s-regex.patch
Normal file
34
Ports/flex/patches/0002-Don-t-use-libc-s-regex.patch
Normal file
|
@ -0,0 +1,34 @@
|
|||
From 1e80ecd820c3a16ffeb99ac0587d996b13784062 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Callahan <bcallah@openbsd.org>
|
||||
Date: Thu, 23 Jan 2020 23:43:31 -0500
|
||||
Subject: [PATCH 2/6] Don't use libc's regex
|
||||
|
||||
---
|
||||
configure | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index d88c47c..90e013f 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -19854,7 +19854,7 @@ fi
|
||||
|
||||
# checks for headers
|
||||
|
||||
-for ac_header in regex.h strings.h sys/stat.h sys/wait.h unistd.h
|
||||
+for ac_header in pcre2posix.h strings.h sys/stat.h sys/wait.h unistd.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
@@ -20739,7 +20739,7 @@ if test "$cross_compiling" = yes; then :
|
||||
$as_echo "$as_me: WARNING: result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation" >&2;}
|
||||
fi
|
||||
|
||||
-for ac_func in dup2 memset regcomp strcasecmp strchr strdup strtol
|
||||
+for ac_func in dup2 memset strcasecmp strchr strdup strtol
|
||||
do :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue