Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 19:32:40 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 010ac0860792 - main - www/rubygem-http: Allow build with rubygem-llhttp-ffi 0.3.0
Message-ID:  <202105181932.14IJWevG037892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=010ac0860792113159bea651c98b96641ae9ee84

commit 010ac0860792113159bea651c98b96641ae9ee84
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-05-18 19:29:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-05-18 19:29:25 +0000

    www/rubygem-http: Allow build with rubygem-llhttp-ffi 0.3.0
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/httprb/http/commit/a91c17075f22b98681b064d0a6aee461521cfe97
---
 www/rubygem-http/Makefile            |  3 ++-
 www/rubygem-http/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/www/rubygem-http/Makefile b/www/rubygem-http/Makefile
index 57a203e49303..3abda6c1e7e9 100644
--- a/www/rubygem-http/Makefile
+++ b/www/rubygem-http/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	http
 PORTVERSION=	5.0.0
+PORTREVISION=	1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 RUN_DEPENDS=	rubygem-addressable>=2.3<3:www/rubygem-addressable \
 		rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \
 		rubygem-http-form_data>=2.2<3:www/rubygem-http-form_data \
-		rubygem-llhttp-ffi>=0.0.1<0.1:www/rubygem-llhttp-ffi
+		rubygem-llhttp-ffi>=0.3.0<0.4:www/rubygem-llhttp-ffi
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/www/rubygem-http/files/patch-gemspec b/www/rubygem-http/files/patch-gemspec
new file mode 100644
index 000000000000..2c8cfa532e5c
--- /dev/null
+++ b/www/rubygem-http/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- http.gemspec.orig	2021-05-17 12:38:25 UTC
++++ http.gemspec
+@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
+       s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
+       s.add_runtime_dependency(%q<http-cookie>.freeze, ["~> 1.0"])
+       s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.2"])
+-      s.add_runtime_dependency(%q<llhttp-ffi>.freeze, ["~> 0.0.1"])
++      s.add_runtime_dependency(%q<llhttp-ffi>.freeze, ["~> 0.3.0"])
+       s.add_development_dependency(%q<bundler>.freeze, ["~> 2.0"])
+     else
+       s.add_dependency(%q<addressable>.freeze, ["~> 2.3"])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105181932.14IJWevG037892>