diff --git a/dev-libs/libpcre2/patches/libpcre2-10.33.patchset b/dev-libs/libpcre2/patches/libpcre2-10.33.patchset new file mode 100644 index 000000000..f393d629b --- /dev/null +++ b/dev-libs/libpcre2/patches/libpcre2-10.33.patchset @@ -0,0 +1,30 @@ +From e1812512ada6e350a2f0fd63d874e8eee31a309e Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Tue, 30 Apr 2019 18:33:26 +0200 +Subject: gcc2 fix + + +diff --git a/src/pcre2_jit_compile.c b/src/pcre2_jit_compile.c +index 1f21bfb..f107883 100644 +--- a/src/pcre2_jit_compile.c ++++ b/src/pcre2_jit_compile.c +@@ -3873,6 +3873,8 @@ DEFINE_COMPILER; + SLJIT_UNUSED_ARG(backtracks); + SLJIT_UNUSED_ARG(must_be_valid); + ++{ ++ + #if defined SUPPORT_UNICODE && PCRE2_CODE_UNIT_WIDTH != 32 + struct sljit_jump *jump; + #endif +@@ -3948,6 +3950,7 @@ if (common->invalid_utf && !must_be_valid) + #endif /* SUPPORT_UNICODE */ + OP2(SLJIT_SUB, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(1)); + } ++} + + static void check_newlinechar(compiler_common *common, int nltype, jump_list **backtracks, BOOL jumpifmatch) + { +-- +2.21.0 +