Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2024 17:56:03 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05917d340dee - main - devel/ivykis: fix build with lld 17
Message-ID:  <202401101756.40AHu3if005967@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=05917d340dee6d2bf02463af53372f2da2ecab00

commit 05917d340dee6d2bf02463af53372f2da2ecab00
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-01-10 17:52:00 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-01-10 17:55:23 +0000

    devel/ivykis: fix build with lld 17
    
    The linker version script libivykis.posix.ver refers to several inotify
    related functions, which are never used on FreeBSD since we do not
    support the inotity interface. This causes errors with lld 17, so add a
    post-patch that deletes the undefined symbols from the linker script.
    
    PR:             273753
    MFH:            2024Q1
---
 devel/ivykis/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/ivykis/Makefile b/devel/ivykis/Makefile
index 0e189d3321ee..dac35d5c5cf0 100644
--- a/devel/ivykis/Makefile
+++ b/devel/ivykis/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	ivykis
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.42.4
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	algernon@madhouse-project.org
@@ -19,4 +20,7 @@ GH_ACCOUNT=	buytenh
 
 INSTALL_TARGET=	install-strip
 
+post-patch:
+	${REINPLACE_CMD} -e '/iv_inotify/d' ${WRKSRC}/libivykis.posix.ver
+
 .include <bsd.port.mk>



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