ports/net/rubygem-grpc142/files/patch-src_ruby_lib_grpc.rb
Matthias Fechner 0bbacd67dc www/gitlab-ce: fix segfaults
Accessing the project page or doing anything that is related to a license
file caused segfault in gitaly.
Upgrading now the gems to this specific version fixed the problem.
As we need to use a prerelease of rubygem-grpc, it is added as extra port.

Please see also upstream here:
https://gitlab.com/gitlab-org/gitlab/-/issues/345693

PR:		259848
Reported by:	admin@asu-vei.ru
2021-11-22 16:17:58 +01:00

11 lines
396 B
Ruby

--- 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'