Date: Sun, 10 Jan 2021 08:25:28 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561004 - head/net/rubygem-grpc124/files Message-ID: <202101100825.10A8PS2t023111@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101100825.10A8PS2t023111>