From nobody Tue Jul 04 06:57:37 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 4QwDBV28vVz4lqCJ; Tue, 4 Jul 2023 06:57:38 +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 4QwDBV0b5mz3jj1; Tue, 4 Jul 2023 06:57:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688453858; 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=fCyrCuYjsZT3JCOEl7P7hiBv+GEGKd5vKroXmCOXvRI=; b=R7HP+S2bHIFTsYjcKKc4C98kP3Zde3Y4SA2JnCY6jAPEE2DF4HXSG0t/nAsQPPdoqLyNQn X3EQDHJcMFJ8E1uKpz/5JlAIV8vVoRRWuL10F2bmjX3nRo+Afm/IHZ4Tt5BWRFl2G9MI/a 3h4Spk+yxC4QOKPrgp94FGaX3T3eq/eGCzNl/sHRUJICJF1ln/JQUZ5OWxN5PLhd+hipSB MMAF6/zrGy34Gme5SbA2xGuorf91JDLb1PCwIWRz8vQE1RCja2aidXAMndx+XuTCwKZZU0 Yvg4JT4sLTUmyoNkqcYiPPm8uFOKMd9iaO8ZrVk4TH7LO9HCxM3B53AOLzg40Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688453858; 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=fCyrCuYjsZT3JCOEl7P7hiBv+GEGKd5vKroXmCOXvRI=; b=vxKKs2bBLw5ExHzaNIAp3OKbAavvCxxD3XgDq+tDdw84RK1Ir6wfGfIl/k1EkW/HYt9Jw5 J0HBhAu0+oCYmtSmBN/MmNwa2woVfxO03+VunWL8qWRH6dzel6S2JnqZPMbQrk4XLAzRQu wg8sLlhBnjVhepjPAxD7gEUts/y4aXsp2lx4popvoNdUkGtvykG4CDXsaTMRkxuAPvV2el Owt9i3N/l72X3jRNhzSxqRbWWK7WGfGAKxT4ow/RrPYQn8JCcpf4HDQf9PM0hli/rN0aSL zeeG0cHdoO42Kt4kbG81mlkaJlXH+uFIiFJr0vBSUZOVOMDk79v1kYINRqwWSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688453858; a=rsa-sha256; cv=none; b=NPvkvAWEmzw0OjuS0C6d1BXSY4wkkrvxTpgMWd7LLCevcJMS9vNiyj24YxEoiS9U3Ri2DV Tc0uYCzM7WgsNQDGVrZeZGuHGnXInVcs2I3ipUHp20cYquUbBITRQ9xh+QCMHB8F1lI4CN EQCCrBwvatMzHyxeGqI3OIFFo5cHfvLy/2FOl0oTg0qmvtGnuwpDdCNxX3FvQ6dy3JbAkD 1CrZ3TYY93N7VeniL/LuJlQL0oZjbgKgkN3waVfruxX16hMKkS4dO0+ZdT51m37XvFvD0v Dz/NHucoHhTXeVasxF0R4qRuS+PxC3N9eQ10eE/QEuiw9wdJv6lYgX814YhUwA== 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 4QwDBT6mpQzMv9; Tue, 4 Jul 2023 06:57:37 +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 3646vbfw072676; Tue, 4 Jul 2023 06:57:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3646vbYH072675; Tue, 4 Jul 2023 06:57:37 GMT (envelope-from git) Date: Tue, 4 Jul 2023 06:57:37 GMT Message-Id: <202307040657.3646vbYH072675@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: a140693353fb - main - audio/ocp: Fix build with clang16 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a140693353fb22f1d28becc5b5dfca9b6e61fb8e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a140693353fb22f1d28becc5b5dfca9b6e61fb8e commit a140693353fb22f1d28becc5b5dfca9b6e61fb8e Author: Emanuel Haupt AuthorDate: 2023-07-04 06:57:32 +0000 Commit: Emanuel Haupt CommitDate: 2023-07-04 06:57:32 +0000 audio/ocp: Fix build with clang16 Notified by: pkg-fallout --- audio/ocp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 993125cad06c..83b347e4c854 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -88,6 +88,12 @@ X11_PLIST_SUB_OFF= DESKTOP='@comment ' \ TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so