diff options
author | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/pcre/patches/posix.patch | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
download | ydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/pcre/patches/posix.patch')
-rw-r--r-- | contrib/libs/pcre/patches/posix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/libs/pcre/patches/posix.patch b/contrib/libs/pcre/patches/posix.patch new file mode 100644 index 0000000000..b68a8621ff --- /dev/null +++ b/contrib/libs/pcre/patches/posix.patch @@ -0,0 +1,20 @@ +From: Георгий Кондратьев <orivej@yandex-team.ru> +Date: Sun, 22 Sep 2019 17:28:22 +0000 +Subject: [PATCH] Rename PCRE POSIX regex symbols. DEVTOOLS-5955 + +They are subtly ABI-incompatible with libc regex due to values of REG_NOMATCH and other constants. + +REVIEW: 962891 + +--- a/pcreposix.h ++++ b/pcreposix.h +@@ -134,4 +134,9 @@ file. */ + /* The functions */ + ++#define regcomp pcre_regcomp ++#define regexec pcre_regexec ++#define regerror pcre_regerror ++#define regfree pcre_regfree ++ + PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int); + PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t, |