1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
openwrt-packages/utils/mg/patches/901-use_pcre.patch
Hirokazu MORIKAWA 95ed7fcc7b mg: switch pcre to pcre2
Switch pcre to pcre2
https://github.com/openwrt/packages/issues/22006

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 3d11e5c197)
2023-10-06 11:04:31 +02:00

12 lines
223 B
Diff

--- a/re_search.c
+++ b/re_search.c
@@ -16,7 +16,7 @@
#ifdef REGEX
#include <sys/queue.h>
#include <sys/types.h>
-#include <regex.h>
+#include <pcre2posix.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>