From owner-svn-ports-all@freebsd.org Fri Oct 23 00:08:59 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 211B242E53C; Fri, 23 Oct 2020 00:08:59 +0000 (UTC) (envelope-from pkubaj@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CHPj66yfGz4dqk; Fri, 23 Oct 2020 00:08:58 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDF101EE33; Fri, 23 Oct 2020 00:08:58 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09N08wPW090267; Fri, 23 Oct 2020 00:08:58 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09N08wOg090265; Fri, 23 Oct 2020 00:08:58 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202010230008.09N08wOg090265@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 23 Oct 2020 00:08:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553060 - head/graphics/mesa-dri/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/graphics/mesa-dri/files X-SVN-Commit-Revision: 553060 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2020 00:08:59 -0000 Author: pkubaj Date: Fri Oct 23 00:08:58 2020 New Revision: 553060 URL: https://svnweb.freebsd.org/changeset/ports/553060 Log: graphics/mesa-dri: fix build of libosmesa on powerpc64le Error: ../src/gallium/auxiliary/util/u_pwr8.h:87:11: error: implicit declaration of function 'vec_perm' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return vec_perm (even, odd, perm_mask); ^ Added: head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__rast__tri.c (contents, props changed) head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__setup__tri.c (contents, props changed) Added: head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__rast__tri.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__rast__tri.c Fri Oct 23 00:08:58 2020 (r553060) @@ -0,0 +1,14 @@ +--- src/gallium/drivers/llvmpipe/lp_rast_tri.c.orig 2020-09-28 22:52:10 UTC ++++ src/gallium/drivers/llvmpipe/lp_rast_tri.c +@@ -465,6 +465,11 @@ lp_rast_triangle_32_3_4(struct lp_rasterizer_task *tas + + #if defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN + ++#ifdef __clang__ ++#undef vector ++#undef pixel ++#undef bool ++#endif + #include + #include "util/u_pwr8.h" + Added: head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__setup__tri.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__setup__tri.c Fri Oct 23 00:08:58 2020 (r553060) @@ -0,0 +1,14 @@ +--- src/gallium/drivers/llvmpipe/lp_setup_tri.c.orig 2020-10-22 23:39:01 UTC ++++ src/gallium/drivers/llvmpipe/lp_setup_tri.c +@@ -47,6 +47,11 @@ + #if defined(PIPE_ARCH_SSE) + #include + #elif defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN ++#ifdef __clang__ ++#undef vector ++#undef pixel ++#undef bool ++#endif + #include + #include "util/u_pwr8.h" + #endif