-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Address current build issues via patches * Advise on memory limit on RPi3 * Move all RPi helpers into their own file * Dependency folder cleanup, formatting and labels * Provide uninstall.sh to remove linked dependencies * Line up Github Actions/Ubuntu 22.04
- Loading branch information
1 parent
fae99ae
commit 6f0a7a0
Showing
9 changed files
with
374 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From 885a8c83ef4f813205fa21cd9e96228db94bcdd2 Mon Sep 17 00:00:00 2001 | ||
From: "John EVANS (eva0034)" <[email protected]> | ||
Date: Sat, 6 Jan 2024 16:58:01 +1100 | ||
Subject: [PATCH] Update SSLWrapper.cpp: | ||
|
||
fix sslwrapper.cpp for newer openssl compilation. | ||
--- | ||
src/Transport/SSLWrapper.cpp | 14 ++++++++++++++ | ||
1 file changed, 14 insertions(+) | ||
|
||
diff --git a/src/Transport/SSLWrapper.cpp b/src/Transport/SSLWrapper.cpp | ||
index 6aca9b44..1c770bf8 100644 | ||
--- a/src/Transport/SSLWrapper.cpp | ||
+++ b/src/Transport/SSLWrapper.cpp | ||
@@ -33,13 +33,27 @@ SSLWrapper::SSLWrapper() | ||
{ | ||
SSL_library_init(); | ||
SSL_load_error_strings(); | ||
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L && !defined(LIBRESSL_VERSION_NUMBER) | ||
+ /* | ||
+ * ERR_load_*(), ERR_func_error_string(), ERR_get_error_line(), ERR_get_error_line_data(), ERR_get_state() | ||
+ * OpenSSL now loads error strings automatically so these functions are not needed. | ||
+ * SEE FOR MORE: | ||
+ * https://www.openssl.org/docs/manmaster/man7/migration_guide.html | ||
+ * | ||
+ */ | ||
+#else | ||
ERR_load_BIO_strings(); | ||
+#endif | ||
OpenSSL_add_all_algorithms(); | ||
} | ||
|
||
SSLWrapper::~SSLWrapper() | ||
{ | ||
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L | ||
+ EVP_default_properties_enable_fips(nullptr, 0); | ||
+#else | ||
FIPS_mode_set(0); | ||
+#endif | ||
ENGINE_cleanup(); | ||
CONF_modules_unload(1); | ||
EVP_cleanup(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/elements/gstqtvideosink/gstqtvideosinkplugin.h b/elements/gstqtvideosink/gstqtvideosinkplugin.h | ||
index dc04671..a72c572 100644 | ||
--- a/elements/gstqtvideosink/gstqtvideosinkplugin.h | ||
+++ b/elements/gstqtvideosink/gstqtvideosinkplugin.h | ||
@@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_EXTERN(gst_qt_video_sink_debug); | ||
#define DEFINE_TYPE_FULL(cpp_type, type_name, parent_type, additional_initializations) \ | ||
GType cpp_type::get_type() \ | ||
{ \ | ||
- static volatile gsize gonce_data = 0; \ | ||
+ static gsize gonce_data = 0; \ | ||
if (g_once_init_enter(&gonce_data)) { \ | ||
GType type = 0; \ | ||
GTypeInfo info; \ |
Oops, something went wrong.