aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dotnet-devel/files/extra-patch-base-openssl
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /lang/dotnet-devel/files/extra-patch-base-openssl
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
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)