aboutsummaryrefslogtreecommitdiff
path: root/net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb')
-rw-r--r--net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb b/net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb
new file mode 100644
index 000000000000..2671a57a57f4
--- /dev/null
+++ b/net/rubygem-grpc-gitlab/files/patch-src_ruby_lib_grpc.rb
@@ -0,0 +1,11 @@
+--- src/ruby/lib/grpc.rb.orig 2020-09-23 17:48:57 UTC
++++ src/ruby/lib/grpc.rb
+@@ -12,7 +12,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__)
++ssl_roots_path = '%%LOCALBASE%%/etc/ssl/cert.pem'
+
+ require_relative 'grpc/errors'
+ require_relative 'grpc/structs'