From nobody Sun Jul 16 17:47:04 2023 X-Original-To: dev-commits-ports-all@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 4R3t2K0zDHz4nGmB; Sun, 16 Jul 2023 17:47:05 +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 4R3t2K0D7nz3xhZ; Sun, 16 Jul 2023 17:47:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689529625; 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=QW809CJ9z2TZfn6muhZ/oTm47FhCLw1XrcXcWNnHZGk=; b=JEyOLyn0alitlIkBLNkbZEzC3nReDT5B9iwx5gs6sHgGyu7oe6z2LTnxjqUMAz80MTRxCf Ezh3GFwRY4RZsy+gsFala9JImGDjAjKC3WxbWM+lG54R9fFuViYBwQLrM60TmmovQyezsX nSL9UHVxdybuZAsUaAuflU20JWopfx4RIWLwXxGQIsx+jiE3Cws8W4K7/MY/LL+0w3slJm 0Mnuedw4hX/Ge801CdDmeycvHxLB23qHHNvrTG/d/jVF3dRgR0dDFiFriDrBCCx4kzR9F2 q+ADZWzxLGqNvUHUubRWepwXuaSysbCfKSeuZUQjPPyop3yAvmSH/wwtFc3hgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689529625; 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=QW809CJ9z2TZfn6muhZ/oTm47FhCLw1XrcXcWNnHZGk=; b=c/OZfX0dQvbwupDjWHpIF1+07sulRE+PMasIQ+ickUO2BjDkvkbw0oVWRpjHpSLSvJS+CB VQvD0dkS6d2F5P/j0hZ7e4Mrud4erS9v/UPdsnqt3BIKgd7c9cKAze4RkNAz5DHzcsylBZ parbJ8QUSjdgfuHRkqByGEdCh4IaGbF9GDwRBItD3a9gA8dh2jp/of3Xb2okf3gxG4qB2C DLVkGwt3fkIB4JVQTcoi21NbtlP1ikwya8WZfRsKiLuAaVwzxR6ylkonl16h/HpD9tiH5u gtp9O/Ygm4KAT02WEldAKqQRSkCtXzEt2Ygxbijo9lFDfisofGhXvQaUjAHgLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689529625; a=rsa-sha256; cv=none; b=hRHzMD7reRhPpt6GzoOaZ2iA3WBtWQuLh1jaJdg/lq0XgLSaq5VwLojq/v424CGNAyIaTc jNPh5vWVlBRkb08qGCdIlg240zRgsN38MBSrnI1OKD29RO3uweoBBoD1Xa9peC4AlXQ0Hl Td7CnNMFw0i+/Z3Z1FGDz+uBFmZfAzP+Qhr3yFVnamdBZ263JfSIErFaKL+MLT3pWN47Nj iH0lkaCiR4LwIcEdLqjX8OmW0CdcL+DQSOs6q4chaP41IKqJ294ZDVyRM+80q7g7XdjhTd f9YjpETkkjIEH3hPqIvA9Bbghi3OAPESaGLr9rDykKUEnuNmrSmehS/eKQQc4A== 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 4R3t2J64T2zrbB; Sun, 16 Jul 2023 17:47:04 +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 36GHl4kY095829; Sun, 16 Jul 2023 17:47:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36GHl4dr095828; Sun, 16 Jul 2023 17:47:04 GMT (envelope-from git) Date: Sun, 16 Jul 2023 17:47:04 GMT Message-Id: <202307161747.36GHl4dr095828@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 91bc9e8990ad - main - devel/libs11n: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 91bc9e8990add7abfe33a7330c770536b03a58e7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=91bc9e8990add7abfe33a7330c770536b03a58e7 commit 91bc9e8990add7abfe33a7330c770536b03a58e7 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-16 16:29:20 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-16 17:46:50 +0000 devel/libs11n: Fix build with llvm16 - Pet portclippy - Adopt port Sponsored by: The FreeBSD Foundation --- devel/libs11n/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile index 6001298e0ce8..b16cb8f56611 100644 --- a/devel/libs11n/Makefile +++ b/devel/libs11n/Makefile @@ -12,6 +12,7 @@ WWW= http://s11n.net/ LICENSE= PD USES= uidfix zip +USE_CXXSTD= c++11 USE_LDCONFIG= yes PORTSCOUT= limitw:1,even @@ -29,6 +30,14 @@ PLIST_SUB+= PROFILE="" post-extract: @${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ + ${WRKSRC}/../include/s11n.net/s11n/algo.tpp \ + ${WRKSRC}/../include/s11n.net/s11n/io/data_node_format.hpp \ + ${WRKSRC}/../include/s11n.net/s11n/io/data_node_io.hpp +.endif + pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n