File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
Source: pcre2
2
- Version: 10.30-1
2
+ Version: 10.30-2
3
3
Description: PCRE2 is a re-working of the original Perl Compatible Regular Expressions library
Original file line number Diff line number Diff line change
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index fbc37fe..54e25f2 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -91,7 +91,7 @@ CMAKE_POLICY(SET CMP0026 OLD)
6
+
7
+ SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake
8
+
9
+ - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${PROJECT_SOURCE_DIR}/src")
10
+ + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I\"${PROJECT_SOURCE_DIR}/src\"")
11
+
12
+ # external packages
13
+ FIND_PACKAGE( BZip2 )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ set(PCRE2_VERSION 10.30)
2
2
include (vcpkg_common_functions )
3
3
set (SOURCE_PATH ${CURRENT_BUILDTREES_DIR} /src/pcre2-${PCRE2_VERSION} )
4
4
vcpkg_download_distfile (ARCHIVE
5
- URLS "https://sourceforge.net/projects/pcre/files/pcre2/${PCRE2_VERSION} /pcre2-${PCRE2_VERSION} .zip/download"
5
+ URLS "https://ftp.pcre.org/pub/pcre/pcre2- ${PCRE2_VERSION} .zip" "https:// sourceforge.net/projects/pcre/files/pcre2/${PCRE2_VERSION} /pcre2-${PCRE2_VERSION} .zip/download"
6
6
FILENAME "pcre2-${PCRE2_VERSION} .zip"
7
7
SHA512 03e570b946ac29498a114b27e715a0fcf25702bfc9623f9fc085ee8a3214ab3c303baccb9c0af55da6916e8ce40d931d97f1ee9628690563041a943f0aa2bc54 )
8
8
@@ -20,6 +20,9 @@ vcpkg_configure_cmake(
20
20
-DPCRE2_BUILD_TESTS=OFF
21
21
-DPCRE2_BUILD_PCRE2GREP=OFF )
22
22
23
+ vcpkg_apply_patches (SOURCE_PATH ${SOURCE_PATH}
24
+ PATCHES ${CMAKE_CURRENT_LIST_DIR} /fix-space.patch )
25
+
23
26
vcpkg_install_cmake ()
24
27
25
28
file (READ ${CURRENT_PACKAGES_DIR} /include/pcre2.h PCRE2_H )
You can’t perform that action at this time.
0 commit comments