diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile index faa396858b52..2c98901605e8 100644 --- a/devel/libexplain/Makefile +++ b/devel/libexplain/Makefile @@ -1,56 +1,48 @@ PORTNAME= libexplain PORTVERSION= 1.3.${PATCHLEVEL} -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Library which may be used to explain Unix and Linux system call errors WWW= https://libexplain.sourceforge.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Upstream last release was in 2014 -#BROKEN_FreeBSD_14= Build fails with lots of error on llvm15 BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= lsof:sysutils/lsof USES= bison gettext ghostscript:build gmake groff iconv libtool:build localbase USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= ac_cv_header_linux_kd_h=no +CFLAGS+= -Wno-error=int-conversion OPTIONS_DEFINE= DOCS PATCHLEVEL= D012 -.include - -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) -USES+= llvm:max=14 -MAKE_JOBS_UNSAFE= yes -.endif - .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no .else CONFIGURE_ARGS+=ac_cv_func_iconv_open=yes ac_cv_func_iconv_close=yes \ ac_cv_lib_iconv_iconv=yes .endif post-patch: @${REINPLACE_CMD} -e \ 's|$$(libdir)/pkgconfig|$$(libdir)/../libdata/pkgconfig|g ; \ s|\([[:blank:]]\)sed|\1gsed|g' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexplain.so .include diff --git a/devel/libexplain/distinfo b/devel/libexplain/distinfo index 18d8861afa77..aa3d9312a9f4 100644 --- a/devel/libexplain/distinfo +++ b/devel/libexplain/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1719082732 SHA256 (libexplain-1.3.tar.gz) = ef36c52795d737a189a139d527e78d3beafdbd017cb3cf71df47027e8beb1215 SIZE (libexplain-1.3.tar.gz) = 4762371 diff --git a/devel/libexplain/files/patch-libexplain_buffer_errno_acl__set__file.c b/devel/libexplain/files/patch-libexplain_buffer_errno_acl__set__file.c new file mode 100644 index 000000000000..8a46541b4e04 --- /dev/null +++ b/devel/libexplain/files/patch-libexplain_buffer_errno_acl__set__file.c @@ -0,0 +1,11 @@ +--- libexplain/buffer/errno/acl_set_file.c.orig 2013-12-08 01:47:33 UTC ++++ libexplain/buffer/errno/acl_set_file.c +@@ -195,7 +195,7 @@ explain_buffer_errno_acl_set_file_explanation(explain_ + #ifdef _PC_ACL_PATH_MAX + if (explain_option_dialect_specific()) + { +- explain_string_buffer_printf(" (%d > %d)", num, max); ++ explain_string_buffer_printf(sb, " (%d > %d)", num, max); + } + #endif + break;