1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb
Torsten Zuehlsdorff 56e0af4638 New port: net/rubygem-grpc
A Ruby implementation of gRPC.

WWW: https://github.com/grpc/grpc/tree/master/src/ruby

Special thanks to swill and vanilla for creating this port!

Reviewed by: tz, Matthias Fechner <idefix@fechner.net>
2017-07-06 13:47:14 +00:00

12 lines
430 B
Ruby

--- src/ruby/lib/grpc.rb.orig 2017-06-28 17:25:39 UTC
+++ src/ruby/lib/grpc.rb
@@ -27,7 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__)
+ssl_roots_path = '/usr/local/etc/ssl/cert.pem'
require_relative 'grpc/errors'
require_relative 'grpc/grpc'