Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 13:15:14 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 69b172f99f01 - main - devel/p5-Term-EditLine: Fix build with clang15
Message-ID:  <202302161315.31GDFEQr070996@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=69b172f99f01c1f428c0db5f065dc3b5cc9a7275

commit 69b172f99f01c1f428c0db5f065dc3b5cc9a7275
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-16 13:14:45 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-16 13:14:54 +0000

    devel/p5-Term-EditLine: Fix build with clang15
    
    Notified by:    pkg-fallout
---
 devel/p5-Term-EditLine/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/p5-Term-EditLine/Makefile b/devel/p5-Term-EditLine/Makefile
index 34534eb9b3a7..241f3dda495a 100644
--- a/devel/p5-Term-EditLine/Makefile
+++ b/devel/p5-Term-EditLine/Makefile
@@ -15,6 +15,11 @@ LICENSE_COMB=	dual
 USES=		libedit perl5 pkgconfig
 USE_PERL5=	configure
 
+post-configure:
+	@${REINPLACE_CMD} \
+		-e 's|\(iv_return.*\)\(EL_BUILTIN_GETCFN\)|\1(IV)\2|' \
+		${WRKSRC}/const-c.inc
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Term/EditLine/EditLine.so
 



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