aboutsummaryrefslogtreecommitdiff
path: root/ports/poco/static_pcre.patch
diff options
context:
space:
mode:
authorJocelyn GENNESSEAUX <gennesseaux@users.noreply.github.com>2019-03-09 01:18:22 +0100
committerVictor Romero <romerosanchezv@gmail.com>2019-03-08 16:18:22 -0800
commite16cf98a5bfe99ab1fc1b736ff54e546d5bfb1d2 (patch)
tree7a1119ff60717c91878a54140f20fd9f6ffa5f98 /ports/poco/static_pcre.patch
parent7a5803413f33fbe97197b27c8736b50297d4e43f (diff)
downloadvcpkg-e16cf98a5bfe99ab1fc1b736ff54e546d5bfb1d2.tar.gz
vcpkg-e16cf98a5bfe99ab1fc1b736ff54e546d5bfb1d2.zip
[poco] pre 2.0.0 (#5503)
* [poco] pre 2.0.0 - Updated to the latest compiling commit - Added SQLite support - Added PDF support - Added MariaDB support - Added PostgreSQL support * Additional include files not part of any libraries * DataException is no more part of Poco::Data * [3fd] Patch 3fd to comply with poco-2.0.0pre
Diffstat (limited to 'ports/poco/static_pcre.patch')
-rw-r--r--ports/poco/static_pcre.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/ports/poco/static_pcre.patch b/ports/poco/static_pcre.patch
new file mode 100644
index 000000000..b9bac7629
--- /dev/null
+++ b/ports/poco/static_pcre.patch
@@ -0,0 +1,27 @@
+diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
+index 4fedfd5..741313b 100644
+--- a/Foundation/CMakeLists.txt
++++ b/Foundation/CMakeLists.txt
+@@ -35,6 +35,22 @@ if (POCO_UNBUNDLED)
+ find_package(PCRE REQUIRED)
+ find_package(ZLIB REQUIRED)
+
++ add_definitions(
++ -D_pcre_utf8_table1=_poco_pcre_utf8_table1
++ -D_pcre_utf8_table1_size=_poco_pcre_utf8_table1_size
++ -D_pcre_utf8_table2=_poco_pcre_utf8_table2
++ -D_pcre_utf8_table3=_poco_pcre_utf8_table3
++ -D_pcre_utf8_table4=_poco_pcre_utf8_table4
++ -D_pcre_utt_names=_poco_pcre_utt_names
++ -D_pcre_utt=_poco_pcre_utt
++ -D_pcre_utt_size=_poco_pcre_utt_size
++ -D_pcre_OP_lengths=_poco_pcre_OP_lengths
++ -D_pcre_hspace_list=_poco_pcre_hspace_list
++ -D_pcre_vspace_list=_poco_pcre_vspace_list
++ -D_pcre_ucp_gentype=_poco_pcre_ucp_gentype
++ -D_pcre_ucp_gbtable=_poco_pcre_ucp_gbtable
++ )
++
+ #HACK: Unicode.cpp requires functions from these files. The can't be taken from the library
+ POCO_SOURCES( SRCS RegExp
+ src/pcre_ucd.c