From nobody Tue Feb 07 20:06:19 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 4PBDfM2fsVz3nf4H; Tue, 7 Feb 2023 20:06:19 +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 4PBDfM28b6z3C4H; Tue, 7 Feb 2023 20:06:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675800379; 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=o75zqyakt+BVNt24RNd4bV6MMKHMPD9mqwwLn9XmuUc=; b=Wc9ilgTvsDWSO53rC/d/IlOAxlVwyZOpNNiDkhtDR20OESMsdQ1oW7d66q6QJcs9ZnzDIw ABrS/FTEhl4rh+JIkjsUpF9m7oKHxNZwiScujjchyXr9VsKO50E2sYl7nbDyrijum7vX/J Syq2qVj19kBUINTprkf92VLd/0HzB9Sgi2q14gdRyMzfzyWeSv/a6k2Opp2HjdxC9A8ZGg DdkjiVpJtLCSvUQC7b92igTbpcNwCQLPDv0Ac7EpHZD/ica4t/dUnCdy1qq6zgxsTRh/fa w8qkmIfaKNUSGO/5tfWbLeklx/rhN1t5S0RXhlxmKzukCrkQ8b3aBbh2Q1HK/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675800379; 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=o75zqyakt+BVNt24RNd4bV6MMKHMPD9mqwwLn9XmuUc=; b=J5u8dXYa7jPYnZXFvshoK20z0IUncDvXmKXev1uIaapQbEKjffJuQWS8jitqBKEVIZgVe3 MOGGADMBQwosl0HwZMChipcwNrWOtX1TPo7ynVksN72/H4TBUCfGXLtA5HEkZ/hU7hIQvp /1dLRZY1Vkeer8ObIEMoEqPyn1YXCfQxYSfS1sirzoFQD8MpMSwjCO63M890QhYbPC2MnW VriDLcKVhp0c6pHuhQiXMeHix0hwjukjlBYch2UmCLU14g4GAe37rYpD0EL6Q7fe/SuTzs rW20v1LW4dI/ObHH7zrUY/MvyTKxV1mVkdCrJhWZ4SXFtLa6VMGBqk6Qb1U4Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675800379; a=rsa-sha256; cv=none; b=Nd7x/gaMAhM4grFOqJRQLdbx5t0hTZPJpa3JOGNNFdN3mjJD9D/UoUYS/SBbxIK2goZGvq sX9L4Vc8PsJWBdML8JdvWyNq3nWb5N63VCccE+6TlzjmOjM/tFDWqc6yKjKQx1fH9vBsT2 XYh0kLs9CHSVzMA6/Zp+mF+RYv6U8MnqqM0Eiz0+Yjxueqhsem+UL/x8dVdRdstNAwSe1g 7nh0buksAP2ynXy9v8e7au4BYjXRu1MR8KzNWcBa5iFzGZv7LzHxEzJUSvQ5syAdLc4TAz mNNhJ2FZazD6D+VpRhwKzhjqfrOXUifHgzsyFTi2zD5PC18kHa2XytazDEvJ6Q== 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 4PBDfM1D4TzTHH; Tue, 7 Feb 2023 20:06:19 +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 317K6JI9022620; Tue, 7 Feb 2023 20:06:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 317K6Jmr022619; Tue, 7 Feb 2023 20:06:19 GMT (envelope-from git) Date: Tue, 7 Feb 2023 20:06:19 GMT Message-Id: <202302072006.317K6Jmr022619@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: eac5d2ab2c06 - main - audio/deadbeef: fix build with clang 15 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eac5d2ab2c062e5ed4d9c67c7490eb4f1f04ecb7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=eac5d2ab2c062e5ed4d9c67c7490eb4f1f04ecb7 commit eac5d2ab2c062e5ed4d9c67c7490eb4f1f04ecb7 Author: Dimitry Andric AuthorDate: 2023-01-07 16:20:14 +0000 Commit: Dimitry Andric CommitDate: 2023-02-07 20:05:36 +0000 audio/deadbeef: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that audio/deadbeef failed to build with clang 15: threading_pthread.c:57:12: error: incompatible pointer to integer conversion returning 'pthread_t' (aka 'struct pthread *') from a function with result type 'intptr_t' (aka 'long') [-Wint-conversion] return tid; ^~~ This is because it is trying to implicitly convert a pthread_t into an integer. Add a cast to suppress the warning. PR: 268991 Approved by: maintainer timeout (2 weeks) MFH: 2023Q1 --- audio/deadbeef/files/patch-threading__pthread.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audio/deadbeef/files/patch-threading__pthread.c b/audio/deadbeef/files/patch-threading__pthread.c new file mode 100644 index 000000000000..af7e3a83cced --- /dev/null +++ b/audio/deadbeef/files/patch-threading__pthread.c @@ -0,0 +1,11 @@ +--- threading_pthread.c.orig 2016-06-19 11:26:18 UTC ++++ threading_pthread.c +@@ -54,7 +54,7 @@ thread_start (void (*fn)(void *ctx), void *ctx) { + fprintf (stderr, "pthread_attr_destroy failed: %s\n", strerror (s)); + return 0; + } +- return tid; ++ return (intptr_t)tid; + } + + intptr_t