diff --git a/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff b/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff new file mode 100644 index 00000000000000..1585314c484969 --- /dev/null +++ b/ports/openssl/aes_cfb128_vaes_encdec_wrapper.diff @@ -0,0 +1,20 @@ +diff --git a/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc b/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc +index d5577d0..eb8e016 100644 +--- a/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc ++++ b/providers/implementations/ciphers/cipher_aes_cfb_hw_aesni.inc +@@ -30,6 +30,7 @@ + static int ossl_aes_cfb8_vaes_eligible(void) { return 0; } + static int ossl_aes_cfb1_vaes_eligible(void) { return 0; } + ++#if (defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)) + /* active in 64-bit builds when AES-NI, AVX512F, and VAES are detected */ + static int aes_cfb128_vaes_encdec_wrapper( + PROV_CIPHER_CTX* dat, +@@ -56,6 +57,7 @@ static int aes_cfb128_vaes_encdec_wrapper( + + return 1; + } ++#endif + + /* generates AES round keys for AES-NI and VAES implementations */ + static int cipher_hw_aesni_initkey(PROV_CIPHER_CTX *dat, diff --git a/ports/openssl/portfile.cmake b/ports/openssl/portfile.cmake index 5d631bcee809a8..6aa8d60481b0d4 100644 --- a/ports/openssl/portfile.cmake +++ b/ports/openssl/portfile.cmake @@ -16,6 +16,7 @@ vcpkg_from_github( cmake-config.patch command-line-length.patch script-prefix.patch + aes_cfb128_vaes_encdec_wrapper.diff # https://github.com/openssl/openssl/issues/28745 windows/install-layout.patch windows/install-pdbs.patch windows/install-programs.diff # https://github.com/openssl/openssl/issues/28744 diff --git a/ports/openssl/vcpkg.json b/ports/openssl/vcpkg.json index a777f3ecb93c47..1a18e1d3fa41ca 100644 --- a/ports/openssl/vcpkg.json +++ b/ports/openssl/vcpkg.json @@ -1,6 +1,7 @@ { "name": "openssl", "version": "3.6.0", + "port-version": 1, "description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.", "homepage": "https://www.openssl.org", "license": "Apache-2.0", diff --git a/ports/qtwebengine/include-dir-order.diff b/ports/qtwebengine/include-dir-order.diff index 4a58bb6da8e4ff..093cd445c856d5 100644 --- a/ports/qtwebengine/include-dir-order.diff +++ b/ports/qtwebengine/include-dir-order.diff @@ -1,14 +1,45 @@ -diff --git a/src/core/api/CMakeLists.txt b/src/core/api/CMakeLists.txt -index e2456a4..a9f8ec0 100644 ---- a/src/core/api/CMakeLists.txt -+++ b/src/core/api/CMakeLists.txt -@@ -54,6 +54,9 @@ qt_internal_add_module(WebEngineCore - ../../3rdparty/chromium/third_party/perfetto/include - ../../3rdparty/chromium/third_party/boringssl/src/include - ../../3rdparty/chromium/base/allocator/partition_allocator/src -+ # vendored protobuf must be listed here in order to appear -+ # before the vcpkg include dir coming with Qt targets. -+ ../../3rdparty/chromium/third_party/protobuf/src - LIBRARIES - Qt::CorePrivate - Qt::GuiPrivate +diff --git a/src/core/configure/BUILD.root.gn.in b/src/core/configure/BUILD.root.gn.in +index 214ef6e715..8b76e08309 100644 +--- a/src/core/configure/BUILD.root.gn.in ++++ b/src/core/configure/BUILD.root.gn.in +@@ -74,11 +74,22 @@ config("QtWebEngineCore_config") { + defines = [ + @GN_DEFINES@, + ] ++ # Don't let /include appear in QtWebEngineCore_config: ++ # vendored dependencies (protobuf, dawn, skia, ...) have inter-dependencies ++ # which must not accidentally pick headers from installed ports. ++ # Instead, attach these includes to a source_set used as another dependency. ++} ++config("QtWebEngineCore_include_dirs_config") { + include_dirs = [ + @GN_INCLUDE_DIRS@, + rebase_path("${target_gen_dir}/.moc/") + ] + } ++source_set("QtWebEngineCore_include_dirs") { ++ public_configs = [ ++ ":QtWebEngineCore_include_dirs_config" ++ ] ++} + + declare_args() { + use_embedded_config = false +@@ -214,6 +225,8 @@ shared_library("QtWebEngineCore") { + "//tools/v8_context_snapshot:v8_context_snapshot" + ] + } ++ # Complements QtWebEngineCore_config modifcation ++ deps += [ ":QtWebEngineCore_include_dirs" ] + } + + source_set("qtwebengine_spellcheck_sources") { +@@ -571,6 +584,8 @@ if (is_win) { + "@GN_SOURCE_ROOT@/sandbox_win.cpp" + ] + public_deps = [ "//sandbox/win:sandbox" ] ++ # Complements QtWebEngineCore_config modifcation ++ deps = [ ":QtWebEngineCore_include_dirs" ] + } + } + diff --git a/ports/qtwebengine/vcpkg.json b/ports/qtwebengine/vcpkg.json index 3c3a04ea37abfd..287533ddb21014 100644 --- a/ports/qtwebengine/vcpkg.json +++ b/ports/qtwebengine/vcpkg.json @@ -2,7 +2,7 @@ "$comment": "x86-windows is not within the upstream support matrix of Qt6", "name": "qtwebengine", "version": "6.9.1", - "port-version": 2, + "port-version": 3, "description": "Qt modules for rendering web and PDF content.", "homepage": "https://www.qt.io/", "license": null, diff --git a/versions/baseline.json b/versions/baseline.json index 13a14cf41af808..5970a1c0e908c6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7202,7 +7202,7 @@ }, "openssl": { "baseline": "3.6.0", - "port-version": 0 + "port-version": 1 }, "opensubdiv": { "baseline": "3.5.0", @@ -8238,7 +8238,7 @@ }, "qtwebengine": { "baseline": "6.9.1", - "port-version": 2 + "port-version": 3 }, "qtwebsockets": { "baseline": "6.9.1", diff --git a/versions/o-/openssl.json b/versions/o-/openssl.json index 49df88c742074f..1e6e9c56e4107f 100644 --- a/versions/o-/openssl.json +++ b/versions/o-/openssl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "17c8172a8f9aeef87a6aaa7ef07cd06289e88e57", + "version": "3.6.0", + "port-version": 1 + }, { "git-tree": "8d9898336b57c74a04ae8378e330ffd4dd88837c", "version": "3.6.0", diff --git a/versions/q-/qtwebengine.json b/versions/q-/qtwebengine.json index 460a7275d5dbef..7ba040bb78175b 100644 --- a/versions/q-/qtwebengine.json +++ b/versions/q-/qtwebengine.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "69734b6439d55e2eedff1640af7b0047aa25a07c", + "version": "6.9.1", + "port-version": 3 + }, { "git-tree": "0cf8cb5f057bcd20d831317cee64096954eba501", "version": "6.9.1",