svn commit: r561004 - head/net/rubygem-grpc124/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 10 08:25:36 UTC 2021
Author: sunpoet
Date: Sun Jan 10 08:25:28 2021
New Revision: 561004
URL: https://svnweb.freebsd.org/changeset/ports/561004
Log:
Fix build with grpc 1.34.0
Reference: https://github.com/grpc/grpc/commit/2b200d2313e739fa1841edf3ea86ab8532862505
Added:
head/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c (contents, props changed)
Added: head/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c Sun Jan 10 08:25:28 2021 (r561004)
@@ -0,0 +1,13 @@
+Reference: https://github.com/grpc/grpc/commit/2b200d2313e739fa1841edf3ea86ab8532862505
+
+--- src/ruby/ext/grpc/rb_call_credentials.c.orig 2020-04-14 03:10:13 UTC
++++ src/ruby/ext/grpc/rb_call_credentials.c
+@@ -229,7 +229,7 @@ static VALUE grpc_rb_call_credentials_init(VALUE self,
+ plugin.state = (void*)proc;
+ plugin.type = "";
+
+- creds = grpc_metadata_credentials_create_from_plugin(plugin, NULL);
++ creds = grpc_metadata_credentials_create_from_plugin(plugin, GRPC_PRIVACY_AND_INTEGRITY, NULL);
+ if (creds == NULL) {
+ rb_raise(rb_eRuntimeError, "could not create a credentials, not sure why");
+ return Qnil;
More information about the svn-ports-all
mailing list