1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/qt5-webengine: switch to using bundled re2

See 9d23691afb for a similar change in
www/qt6-webengine.

Using system re2 leads to compile failures with:

[...]
../../../../qtwebengine-everywhere-src-5.15.8/src/3rdparty/chromium/gpu/command_buffer/service/program_manager.cc:627:25: error: no member named 'as_string' in 'absl::string_view'
  return output + input.as_string();
                  ~~~~~ ^
[...]

* PORTREVISION intentionally was not bumped.
This commit is contained in:
Tobias C. Berner 2023-09-13 07:55:39 +02:00
parent 44751f5f02
commit 190bd2d090
2 changed files with 9 additions and 2 deletions

View File

@ -44,7 +44,6 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libopus.so:audio/opus \
libpci.so:devel/libpci \
libpng.so:graphics/png \
libre2.so:devel/re2 \
libsnappy.so:archivers/snappy \
libvpx.so:multimedia/libvpx \
libwebp.so:graphics/webp

View File

@ -1,4 +1,4 @@
--- src/core/config/linux.pri.orig 2020-11-07 01:22:36 UTC
--- src/core/config/linux.pri.orig 2021-12-15 16:12:54 UTC
+++ src/core/config/linux.pri
@@ -20,6 +20,12 @@ qtConfig(webengine-embedded-build) {
gn_args += use_alsa=false
@ -13,3 +13,11 @@
!packagesExist(libpci): gn_args += use_libpci=false
qtConfig(webengine-ozone-x11) {
@@ -39,6 +45,6 @@ qtConfig(webengine-embedded-build) {
qtConfig(webengine-system-libvpx): gn_args += use_system_libvpx=true
qtConfig(webengine-system-icu): gn_args += use_system_icu=true icu_use_data_file=false
qtConfig(webengine-system-ffmpeg): gn_args += use_system_ffmpeg=true
- qtConfig(webengine-system-re2): gn_args += use_system_re2=true
+ qtConfig(webengine-system-re2): gn_args += use_system_re2=false
qtConfig(webengine-system-lcms2): gn_args += use_system_lcms2=true
}