1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-22 13:10:31 -04:00
ports/net/rubygem-grpc130/files/patch-src_ruby_lib_grpc.rb
Sunpoet Po-Chuan Hsieh d3932e0e48 Fix grpc issue in gitlab-ce
- While I'm here, use = instead of ?= because gitlab-ce does not have slave port
- Bump PORTREVISION for dependency change

gitlab-ce has some runtime issue with grpc versions, especially upb stuff.
Move all gitlab-ce dependencies to specific grpc/rubygem-grpc versions in order
to keep gitlab-ce port more robust.

The changes are as follows:
- Add devel/grpc134 (copied from devel/grpc)
- Add net/rubygem-grpc130 (copied from net/rubygem-grpc)
- Move gitlab-ce and its dependencies to grpc134 and rubygem-grpc130

Differential Revision:	https://reviews.freebsd.org/D28491
Submitted by:	sunpoet (myself)
Approved by:	mfechner
Tested by:	mfechner
2021-02-06 01:22:51 +00: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'