From nobody Sun Jun 25 23:21:38 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 4Qq6S33RHrz4hPqy; Sun, 25 Jun 2023 23:21:39 +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 4Qq6S30jbGz3q74; Sun, 25 Jun 2023 23:21:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687735299; 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=VTMI+1IYl7Lvx6BK0IvqKZzLXHmcV+jhRkhiOQD1Fgk=; b=pi1UZ76ZfRiw/zBBaI6tnk5Ghmv3l1NSGuq4TYLDRx60LI+jukztgaVRDvsh4AkhKL292C /BzeGLQXmKKfHhnVdVS5+cAp/thPxSlEvrXOGhL4/Im7dRbcjkNAZnsp7tvlMjHyXCtf+K GFdNe35sL1e2Ljbt7LjGZrL33T3/zhuULrxbNfdqyofg+XLjhxySdmskFyntkSRlULsOMr x758vwESjvreE2u4uzGcVe50WZ1wY6GzdZuEqbi8gI0wvVSPEwm4AiBdqb9FCljH8Q9kAp 4Q9s91R5XCSwBtn4pMLCZB2niFj5iebR2iCmgG8o+G5/KAl2QwD6zPd+74eOfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687735299; 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=VTMI+1IYl7Lvx6BK0IvqKZzLXHmcV+jhRkhiOQD1Fgk=; b=QCGcirGYcX5PtVtDJjvVQRepDnkvn+tpxswof/IhBMJSNIP3afihOFsI+UjPho0iCmgPBr 8TfUOnglo0Anx59t3GoAvOaGjouzr0Q7IRey4y+1ywqT4FhgDoj+Ji+aCHHGZeMZ+nu91c E4axeAM4cuiSMCLzyubrlibJKt9ZpNGlOT7/sAHNg/CzoD8cb1ZowRKzgSs9CA7OORQSMz Dbqe1I0WvYA22yijqi1sZ/uit+7CtJOJMTmdXoK+ArEUgZhfJhPUDwoDRDEH30J/v3cE39 poSDx/Cg57krsRE+btWifbryfh6Gvbh7c/BWxqOdQmauF6wlpj8TbLdWWuMJQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687735299; a=rsa-sha256; cv=none; b=ekxxzactkFNIGAvJqZ+FydKaTLkXmtM0OliE7repSd8Z3NqlNbLzprY8DACC/Ni4xUt0f4 GlDv3uFXJkWMumvRCTefcgwdrO1NQsZ/1Nk4NaSTJ5GGKAUMbJDquMY9NBqV6+nYWaVyPG EauihuTe0c+mjgMrdFaB3LbwGmfhUbedsluOHfvSO3P/a1ZgpVnGoindhOjN0NLuLH2G/V XZl9hujE6zXT15yty1bWt45Wj8ohKYiLUUcxjzJ9MLwxqev4plxSSSApMeUMQoyhm13nPy L/mTPetwnk1sQTFZdlzKd7tI04M5s7cRa/S355dZ1PVBLpIDz6mYXbV7cO0x/A== 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 4Qq6S26wLhzmkw; Sun, 25 Jun 2023 23:21:38 +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 35PNLc0l020501; Sun, 25 Jun 2023 23:21:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PNLc3D020500; Sun, 25 Jun 2023 23:21:38 GMT (envelope-from git) Date: Sun, 25 Jun 2023 23:21:38 GMT Message-Id: <202306252321.35PNLc3D020500@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 85b9ede53bca - main - multimedia/x264: fix build with llvm 16 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85b9ede53bca1be06c48b601f7968054cdca0e5f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=85b9ede53bca1be06c48b601f7968054cdca0e5f commit 85b9ede53bca1be06c48b601f7968054cdca0e5f Author: Piotr Kubaj AuthorDate: 2023-06-25 22:50:27 +0000 Commit: Piotr Kubaj CommitDate: 2023-06-25 23:21:37 +0000 multimedia/x264: fix build with llvm 16 common/ppc/pixel.c:1576:31: error: incompatible function pointer types assigning to 'x264_pixel_cmp_x3_t' (aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') from 'int (uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' (aka 'int (unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') [-Wincompatible-function-pointer-types] pixf->sad_x3[PIXEL_8x16] = pixel_sad_x3_8x16_altivec; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ common/ppc/pixel.c:1578:31: error: incompatible function pointer types assigning to 'x264_pixel_cmp_x3_t' (aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') from 'int (uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' (aka 'int (unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') [-Wincompatible-function-pointer-types] pixf->sad_x3[PIXEL_8x8] = pixel_sad_x3_8x8_altivec; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ common/ppc/pixel.c:1581:31: error: incompatible function pointer types assigning to 'x264_pixel_cmp_x4_t' (aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') from 'int (uint8_t *, uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' (aka 'int (unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') [-Wincompatible-function-pointer-types] pixf->sad_x4[PIXEL_8x16] = pixel_sad_x4_8x16_altivec; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ common/ppc/pixel.c:1583:31: error: incompatible function pointer types assigning to 'x264_pixel_cmp_x4_t' (aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') from 'int (uint8_t *, uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' (aka 'int (unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long, int *)') [-Wincompatible-function-pointer-types] pixf->sad_x4[PIXEL_8x8] = pixel_sad_x4_8x8_altivec; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ --- multimedia/x264/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile index c8465cd5dcd2..173ca9366c60 100644 --- a/multimedia/x264/Makefile +++ b/multimedia/x264/Makefile @@ -129,4 +129,10 @@ pre-build: @(${RM} ${WRKSRC}/x264_config.h) .endif +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include