Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2023 19:16:38 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f1109c7f15d - main - devel/libshbuf: Fix build with llvm15
Message-ID:  <202306111916.35BJGc2N052610@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f1109c7f15db08e7582cd38fe285151db273c4c

commit 2f1109c7f15db08e7582cd38fe285151db273c4c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-11 18:54:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-11 19:16:23 +0000

    devel/libshbuf: Fix build with llvm15
    
    - Pet portclippy
    - Adopt port
---
 devel/libshbuf/Makefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/devel/libshbuf/Makefile b/devel/libshbuf/Makefile
index 6823b0ed71c2..05a5f9d03b8c 100644
--- a/devel/libshbuf/Makefile
+++ b/devel/libshbuf/Makefile
@@ -3,17 +3,26 @@ PORTVERSION=	0.0.3
 CATEGORIES=	devel
 MASTER_SITES=	http://0pointer.de/lennart/projects/libshbuf/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Library for Shared Buffer IPC
 WWW=		https://0pointer.de/lennart/projects/libshbuf/
 
 LICENSE=	GPLv2 # though COPYING says LGPL21
 
-USE_LDCONFIG=	yes
 USES=		pathfix libtool
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--disable-lynx --disable-doxygen
+
 INSTALL_TARGET=	install-strip
+
 CFLAGS+=	-D_WANT_SEMUN
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .include <bsd.port.mk>



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