vcpkg/ports/ffmpeg/0012-Fix-ssl-110-detection.patch
Matthew Oliver 0f719b3fdf
[ffmpeg] Update to 5.0 (#23312)
* [ffmpeg] Update to 5.0

* update versions

* Fix after merge.

* ffmpeg: Fix lzma debug lib naming.

* Update ffmpeg.json

* Update ffmpeg.json

* Update ffmpeg.json

* fixup versions.

* fixup

* version fixup

* Update ffmpeg.json

* [ffmpeg] Disable autodetect.

* [ffmpeg] Update version.

* [ffmpeg] fixup autodetect on linux/uwp.

* Update ffmpeg.json

* [avcpp] Update to 2.1.0.

* [pangolin] Update to 0.8.

* Update versions.

* [pangolin] Fixup port file.

* Update pangolin.json

* [aubio] Update to latest git master.

* Update pangolin.json

* [avcpp] Add license field.

* [avcpp] Fix pkgconf detection of ffmpeg.

* [ignition-cmake] Update to 2.16.0.

* [ignition-math6] Update to 6.13.0.

* [ignition-common3] Update to 3.14.1.

* [avcpp] Reformat.

* Update versions.

* [avcpp] Fix pkgconfig cross compile.

* [discordcoreapi] Disable on uwp.

* Update versions

* [aubio] Fix deprecated portfile functions.

* Update versions.

* [ffmpeg] Fix amf/mfx feature.

* [ignition-math6] Require python 3.10.

* Update versions.

* fixup

* [ignition-math6] Change version to last known good 6.9.2.

* [discordcoreapi] Properly Fix.

* Update versions.

* Update versions.

* Update ffmpeg.json

* Update ffmpeg.json
2023-01-03 10:32:17 -08:00

15 lines
1.1 KiB
Diff

diff --git a/configure b/configure
index 2be953f7e7..e075949ffc 100755
--- a/configure
+++ b/configure
@@ -6497,6 +6497,7 @@ enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0
{ enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } ||
{ enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } ||
check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init ||
+ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto $pthreads_extralibs -ldl ||
check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||