]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libpq/patches/windows/host_skip_openssl.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libpq / patches / windows / host_skip_openssl.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libpq/patches/windows/host_skip_openssl.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libpq/patches/windows/host_skip_openssl.patch
new file mode 100644 (file)
index 0000000..e18e178
--- /dev/null
@@ -0,0 +1,38 @@
+diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
+index 25a549015..9018270ab 100644
+--- a/src/tools/msvc/Solution.pm       
++++ b/src/tools/msvc/Solution.pm
+@@ -132,21 +132,21 @@ sub GetOpenSSLVersion
+       # Attempt to get OpenSSL version and location.  This assumes that
+       # openssl.exe is in the specified directory.
+       # Quote the .exe name in case it has spaces
+-      my $opensslcmd =
+-        qq("openssl.exe" version 2>&1);\r
+-      my $sslout = `$opensslcmd`;
++      #my $opensslcmd =
++      #  qq("openssl.exe" version 2>&1);\r
++      #my $sslout = `$opensslcmd`;
+-      $? >> 8 == 0
+-        or croak
+-        "Unable to determine OpenSSL version: The openssl.exe command wasn't found.";
++      #$? >> 8 == 0
++      #  or croak
++      #  "Unable to determine OpenSSL version: The openssl.exe command wasn't found.";
+-      if ($sslout =~ /(\d+)\.(\d+)\.(\d+)(\D)/m)
+-      {
+-              return ($1, $2, $3);
+-      }
++      #if ($sslout =~ /(\d+)\.(\d+)\.(\d+)(\D)/m)
++      #{
++              return (1, 1, 1);
++      #}
+-      croak
+-        "Unable to determine OpenSSL version: The openssl.exe version could not be determined.";
++      #croak
++      #  "Unable to determine OpenSSL version: The openssl.exe version could not be determined.";
+ }
+ sub GenerateFiles