FreeBSD Bugzilla – Attachment 233110 Details for
Bug 262581
lang/crystal: Update to 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
extra-patch-src_openssl_lib__ssl-1.4.0.cr
extra-patch-src_openssl_lib__ssl.cr (text/plain), 1.55 KB, created by
slowdive
on 2022-04-09 21:31:46 UTC
(
hide
)
Description:
extra-patch-src_openssl_lib__ssl-1.4.0.cr
Filename:
MIME Type:
Creator:
slowdive
Created:
2022-04-09 21:31:46 UTC
Size:
1.55 KB
patch
obsolete
>--- src/openssl/lib_ssl.cr.orig 2022-04-09 14:24:40.000000000 -0700 >+++ src/openssl/lib_ssl.cr 2022-04-09 14:24:07.000000000 -0700 >@@ -6,32 +6,8 @@ > > {% begin %} > lib LibSSL >- {% if flag?(:win32) %} >- {% from_libressl = false %} >- {% ssl_version = nil %} >- {% for dir in Crystal::LIBRARY_PATH.split(';') %} >- {% unless ssl_version %} >- {% config_path = "#{dir.id}\\openssl_VERSION" %} >- {% if config_version = read_file?(config_path) %} >- {% ssl_version = config_version.chomp %} >- {% end %} >- {% end %} >- {% end %} >- {% ssl_version ||= "0.0.0" %} >- {% else %} >- {% from_libressl = (`hash pkg-config 2> /dev/null || printf %s false` != "false") && >- (`test -f $(pkg-config --silence-errors --variable=includedir libssl)/openssl/opensslv.h || printf %s false` != "false") && >- (`printf "#include <openssl/opensslv.h>\nLIBRESSL_VERSION_NUMBER" | ${CC:-cc} $(pkg-config --cflags --silence-errors libssl || true) -E -`.chomp.split('\n').last != "LIBRESSL_VERSION_NUMBER") %} >- {% ssl_version = `hash pkg-config 2> /dev/null && pkg-config --silence-errors --modversion libssl || printf %s 0.0.0`.split.last.gsub(/[^0-9.]/, "") %} >- {% end %} >- >- {% if from_libressl %} >- LIBRESSL_VERSION = {{ ssl_version }} >- OPENSSL_VERSION = "0.0.0" >- {% else %} >- LIBRESSL_VERSION = "0.0.0" >- OPENSSL_VERSION = {{ ssl_version }} >- {% end %} >+ LIBRESSL_VERSION = "0.0.0" >+ OPENSSL_VERSION = {{ ssl_version }} > end > {% end %} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262581
:
232478
|
232520
|
233109
|
233110
|
233111
|
233348