aboutsummaryrefslogtreecommitdiff
path: root/lang/dotnet-devel/files/extra-patch-base-openssl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/dotnet-devel/files/extra-patch-base-openssl')
-rw-r--r--lang/dotnet-devel/files/extra-patch-base-openssl12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/dotnet-devel/files/extra-patch-base-openssl b/lang/dotnet-devel/files/extra-patch-base-openssl
new file mode 100644
index 000000000000..7f57f098b436
--- /dev/null
+++ b/lang/dotnet-devel/files/extra-patch-base-openssl
@@ -0,0 +1,12 @@
+--- src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt.orig 2025-01-21 19:57:31 UTC
++++ src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt
+@@ -11,6 +11,9 @@ add_definitions(-DOPENSSL_API_COMPAT=0x10100000L)
+
+ add_definitions(-DOPENSSL_API_COMPAT=0x10100000L)
+
++if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
++ set(OPENSSL_ROOT_DIR /usr)
++endif()
+ include(${CMAKE_CURRENT_LIST_DIR}/extra_libs.cmake)
+
+ set(NATIVE_LIBS_EXTRA)