From owner-dev-commits-ports-all@freebsd.org Sun Jun 20 11:43:43 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C73F64E239; Sun, 20 Jun 2021 11:43:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G79ly5QPqz4sdd; Sun, 20 Jun 2021 11:43:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 773E91023; Sun, 20 Jun 2021 11:43:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15KBhgW8016221; Sun, 20 Jun 2021 11:43:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15KBhgUD016220; Sun, 20 Jun 2021 11:43:42 GMT (envelope-from git) Date: Sun, 20 Jun 2021 11:43:42 GMT Message-Id: <202106201143.15KBhgUD016220@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fc92d7642c96 - main - www/p5-ParallelUserAgent: Convert REINPLACE_CMD to patch file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc92d7642c96799ac8dd7544cf6a28aa47dde0f6 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2021 11:43:43 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc92d7642c96799ac8dd7544cf6a28aa47dde0f6 commit fc92d7642c96799ac8dd7544cf6a28aa47dde0f6 Author: Po-Chuan Hsieh AuthorDate: 2021-06-20 11:36:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-06-20 11:36:27 +0000 www/p5-ParallelUserAgent: Convert REINPLACE_CMD to patch file --- www/p5-ParallelUserAgent/Makefile | 8 +++----- .../files/patch-lib-LWP-Parallel-UserAgent.pm | 10 ++++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/www/p5-ParallelUserAgent/Makefile b/www/p5-ParallelUserAgent/Makefile index c410278945ed..faecd5f061b0 100644 --- a/www/p5-ParallelUserAgent/Makefile +++ b/www/p5-ParallelUserAgent/Makefile @@ -17,12 +17,10 @@ BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-libwww>=5.64:www/p5-libwww -NO_ARCH= yes -REINPLACE_ARGS= -i '' -USE_PERL5= configure USES= perl5 tar:tgz +USE_PERL5= configure -post-patch: - @${REINPLACE_CMD} -e '/protocol->parse_head/d' ${WRKSRC}/lib/LWP/Parallel/UserAgent.pm +NO_ARCH= yes +REINPLACE_ARGS= -i '' .include diff --git a/www/p5-ParallelUserAgent/files/patch-lib-LWP-Parallel-UserAgent.pm b/www/p5-ParallelUserAgent/files/patch-lib-LWP-Parallel-UserAgent.pm new file mode 100644 index 000000000000..12c1753453e0 --- /dev/null +++ b/www/p5-ParallelUserAgent/files/patch-lib-LWP-Parallel-UserAgent.pm @@ -0,0 +1,10 @@ +--- lib/LWP/Parallel/UserAgent.pm.orig 2016-05-29 14:13:43 UTC ++++ lib/LWP/Parallel/UserAgent.pm +@@ -1517,7 +1517,6 @@ sub init_request { + + # Transfer some attributes to the protocol object + $protocol->can('parse_head') ? +- $protocol->parse_head($parse_head) : + $protocol->_elem('parse_head', $parse_head); + $protocol->max_size($max_size); +