aboutsummaryrefslogtreecommitdiff
path: root/ports/ffmpeg/0002-detect-openssl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ffmpeg/0002-detect-openssl.patch')
-rw-r--r--ports/ffmpeg/0002-detect-openssl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/ffmpeg/0002-detect-openssl.patch b/ports/ffmpeg/0002-detect-openssl.patch
new file mode 100644
index 000000000..87a7656c8
--- /dev/null
+++ b/ports/ffmpeg/0002-detect-openssl.patch
@@ -0,0 +1,14 @@
+diff --git a/configure b/configure
+index 1c8008a..bd2de34 100755
+--- a/configure
++++ b/configure
+@@ -6360,7 +6360,8 @@ enabled openssl && { check_pkg_config openssl openssl openssl/ssl.h OP
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
+- die "ERROR: openssl not found"; }
++ check_lib openssl openssl/ssl.h SSL_library_init -llibeay32 -lssleay32 ||
++ die "ERROR: openssl not found"; }
+ enabled pocketsphinx && require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init
+ enabled rkmpp && { require_pkg_config rkmpp rockchip_mpp rockchip/rk_mpi.h mpp_create &&
+ require_pkg_config rockchip_mpp "rockchip_mpp >= 1.3.7" rockchip/rk_mpi.h mpp_create &&