From nobody Sat Jun 24 04:38:07 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 4Qp1Z73Lcjz4gfGd; Sat, 24 Jun 2023 04:38:07 +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 4Qp1Z72kR3z4MtJ; Sat, 24 Jun 2023 04:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687581487; 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=nVcx4T8DAtK7zvL12FF0d9PTSMVWmtSGqAvRtm4W6iI=; b=M83UvIAyvlxsevh10NPNBOWsVQuE2qmyLiy8xevpFFt0jxfK21/w0A95cL/arklGvCbK3U ZDV1RylWxEozlWMb5o6NiHyowamxGU6+tfTquHvVLEcsPu/7L2dHSYVErKvFXU68oFagrl gkYo07szHnsh7lkk0k144gN5HAb8yKDI1QboqJYFlXjVMpTYefVy7UN9JdunamoyYRkH3S CiseBFraSXznEnWXN2ErwAmbUJ16APHi29KU8Fu6ro0/hIeDIi9JotsGneZ4E940czobeT z9MLx54GkRaa1L9Z3PmRjuHBTzIBh6IiVyVHrRR7p115z/ILdecAsFl0T+beJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687581487; 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=nVcx4T8DAtK7zvL12FF0d9PTSMVWmtSGqAvRtm4W6iI=; b=cA9cXdh7TMBbKCQFOzvxlqr+qbtjqSMO4Sy8bNY9AsSZKtlkUnfjXVsjb+0nYEtNXs+8B/ 46kVGhf+Y3kwQVqt5DJV2iydTyEe0if1SdXH1p9fw8F6eyOVlDSRr88y9RmeFWqdSQc1X+ 93jK9hFGGxzbT//Hp6UICGk/ijs5TLqiFNVrlsYdHVuxDk/op8hsZGzK3WYwosPacHc4Ti cxTp47h4Ie7GqpYhc8+sghMZijoGGbwlRRM/FDXURweqFQNA2OJmx+LIZcMfovBEHJh/rY /7fbTCaa3Op13OmtvpUGCwW6nQ7ArODEt6wO+6k8rVXIAEtW4vJeP4eLCoEWMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687581487; a=rsa-sha256; cv=none; b=HoRaeg+8be+FabWPkZr/Yttqsm90onrnTxqUChJF3d1xDDUjRvCeRcNn+vqaUthnufeTqc SxrXFpT97Ls8ky5cykUSwWcgal9LLQW14jtQIkcLJMqP4FqknMTfJhC1zI8cS5iN3WfvSk evWhxrpZcSz+0+/k71109am2t+575SLPfFquV0ZwqJ4z43b4Fej+dnURL5Whr04sLG4tCL XGfV97cUltJZFxcfEDPrxnyq/bihrffuDE/jhMUke2RmKwDgRI6MfmBMZyePLeWs2fforl kDG5tqqPjfddKqoJtIEII4pgZCLLIX8afq7AzmOHVetNNXmSEVNE6NjKB/LGhg== 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 4Qp1Z71qdLzXnB; Sat, 24 Jun 2023 04:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35O4c7E9073687; Sat, 24 Jun 2023 04:38:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35O4c74J073684; Sat, 24 Jun 2023 04:38:07 GMT (envelope-from git) Date: Sat, 24 Jun 2023 04:38:07 GMT Message-Id: <202306240438.35O4c74J073684@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: c441b60811c2 - main - audio/libaudiofile: 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: c441b60811c20ea1ccf79513b66d11eb9632d9f9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c441b60811c20ea1ccf79513b66d11eb9632d9f9 commit c441b60811c20ea1ccf79513b66d11eb9632d9f9 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 01:35:50 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 04:37:52 +0000 audio/libaudiofile: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- audio/libaudiofile/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile index 4f56710263c7..bcf2bc021f1d 100644 --- a/audio/libaudiofile/Makefile +++ b/audio/libaudiofile/Makefile @@ -17,11 +17,19 @@ CONFLICTS= osalp-0.7.* USES= cpe pathfix pkgconfig tar:xz libtool CPE_PRODUCT= audiofile - USE_LDCONFIG= yes + GNU_CONFIGURE= yes +.include + +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ + ${WRKSRC}/libaudiofile/modules/SimpleModule.h +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudiofile.so.1 -.include +.include