From nobody Sat Jun 22 21:50:01 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W67Dn6B71z5P83s; Sat, 22 Jun 2024 21:50:01 +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 4W67Dn5YBNz4PTJ; Sat, 22 Jun 2024 21:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719093001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C3UOhOW+zkD3MMmIM5nEMVxYQjNkzzbwm6ERq/MXzV4=; b=t9i5GjZvbapNkEiZEyO7eT6tXYTCXAyjrZXQBN+DNbEgjafXpeKH2JEyaxIZ+MM/OzgxRR 5KNdfoBbp5f3RD6/VgaB3a8WpdMXm4YB74TXsYuraIMb+TC2dnkBeYlafz9VIziAT2a7Bp 8N2sCf4Y1uksI68TO4Z/D48X6nAl6f6uuXx0wEd1ke5KusOdnxpXut8JQ/Ui41YsCBquTP EsQmPDAQWsHWk3prZ6uoEVxB716dn/YeTy1L0zaTLX/Q46iH8RGWZbA6sIOXkTdIX8fBoE QPCuU9i4c8nJyEzgS1u/vFMtofhvij50Jm3lxRSVilPTKxSsgDIRXuvwdrEwRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719093001; a=rsa-sha256; cv=none; b=xIn7FqsCb1VR52agCcwlY8SJR9MqlPjDyVYiPuM05mI/foOhjaCBw1XLpvVH7T0R7ctA9B 6x6Fah49n3n3JhLPTogGaMYrlazocw/LtgNk6GC+anWrKB7MQPPApyP4t9yXgP+PeG5Xpj 17NGVqhbItTQQS7zIhZWW/S6pnNjMcpzypkqT/3+F5qrFcdC8lkWRtRZa6wElkwGobOGb+ tyrUiinheNdh8Ho6o1wdDXbmLiMv2CwKpBnSCCdjjgCWbNdim99l6sqRKP0E/FWkV2j0pD SuM91sIsA8QD/AhRJWKkde3cwvJHTKU56k/xT1lXMQhYHMBb7WeHt4d8ZFcMxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719093001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C3UOhOW+zkD3MMmIM5nEMVxYQjNkzzbwm6ERq/MXzV4=; b=Oe1yzubEyq1UkqXdwCEDmfS1MyVRfyYX0tgtGCc1VnzhN6cIEy9EGoKXQuNbL7GnzVnpwc uRZxDyvHac3+02gfPdDkUfxA//fctqEQOdw5bxRhKiWaTjIwHjEGaUvFNa4D+XmPUCLK3M KexTEHt7ishd+Tgbb1JFVTR9PZIO7Or6ZIi1BJMXGG6xBGR4a8GeRnh2VhaiQ1s/AElU7w rXck2tnFVSkEe0vJiEXeDlNAu6EEENSXyKD9XOJP1GRdnrBGjZEfTEtrUKNd+PGNfLo1p0 LV2k/EqTEVvOJbakCp7Gtv0v9CS7hTg9mxiaAHnu1g7STH7OqzjCesOYGbjphA== 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 4W67Dn4rh5z17FG; Sat, 22 Jun 2024 21:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45MLo1eS024472; Sat, 22 Jun 2024 21:50:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45MLo1gN024467; Sat, 22 Jun 2024 21:50:01 GMT (envelope-from git) Date: Sat, 22 Jun 2024 21:50:01 GMT Message-Id: <202406222150.45MLo1gN024467@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 044c1da998cd - main - devel/libexplain: fix build with llvm15+ from base List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 044c1da998cd0ade9bd208c6db68826648c6f871 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=044c1da998cd0ade9bd208c6db68826648c6f871 commit 044c1da998cd0ade9bd208c6db68826648c6f871 Author: Vladimir Druzenko AuthorDate: 2024-06-22 21:47:07 +0000 Commit: Vladimir Druzenko CommitDate: 2024-06-22 21:47:07 +0000 devel/libexplain: fix build with llvm15+ from base While here remove unnecessary GNU_CONFIGURE_MANPREFIX. --- devel/libexplain/Makefile | 12 ++---------- devel/libexplain/distinfo | 1 + .../files/patch-libexplain_buffer_errno_acl__set__file.c | 11 +++++++++++ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile index faa396858b52..2c98901605e8 100644 --- a/devel/libexplain/Makefile +++ b/devel/libexplain/Makefile @@ -1,6 +1,6 @@ PORTNAME= libexplain PORTVERSION= 1.3.${PATCHLEVEL} -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION:R} @@ -13,7 +13,6 @@ 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 @@ -22,20 +21,13 @@ 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) 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;