From owner-svn-ports-head@freebsd.org Fri Jul 3 12:04:03 2020 Return-Path: Delivered-To: svn-ports-head@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 8A8B434CD56; Fri, 3 Jul 2020 12:04:03 +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 49ytsv364Lz4C5x; Fri, 3 Jul 2020 12:04:03 +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 351EBB4B8; Fri, 3 Jul 2020 12:04:03 +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 063C43S0043591; Fri, 3 Jul 2020 12:04:03 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 063C4247043587; Fri, 3 Jul 2020 12:04:02 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202007031204.063C4247043587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 3 Jul 2020 12:04:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541100 - in head/devel/opencl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/devel/opencl: . files X-SVN-Commit-Revision: 541100 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2020 12:04:03 -0000 Author: pkubaj Date: Fri Jul 3 12:04:02 2020 New Revision: 541100 URL: https://svnweb.freebsd.org/changeset/ports/541100 Log: devel/opencl: don't include altivec.h altivec.h shouldn't be included directly by users. It's managed with -maltivec / -mno-altivec compiler switches. Including it causes compiler errors when using clang. Already upstreamed. PR: 247396 Approved by: ohartman@zedat.fu-berlin.de (maintainer timeout) MFH: 2020Q3 (fixes build of some other ports) Added: head/devel/opencl/files/ head/devel/opencl/files/patch-cl__platform.h (contents, props changed) Modified: head/devel/opencl/Makefile Modified: head/devel/opencl/Makefile ============================================================================== --- head/devel/opencl/Makefile Fri Jul 3 11:50:50 2020 (r541099) +++ head/devel/opencl/Makefile Fri Jul 3 12:04:02 2020 (r541100) @@ -3,7 +3,7 @@ PORTNAME= opencl PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= ohartman@zedat.fu-berlin.de Added: head/devel/opencl/files/patch-cl__platform.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opencl/files/patch-cl__platform.h Fri Jul 3 12:04:02 2020 (r541100) @@ -0,0 +1,13 @@ +--- cl_platform.h.orig 2020-06-18 22:38:47 UTC ++++ cl_platform.h +@@ -429,7 +429,9 @@ typedef unsigned int cl_GLenum; + + /* Define basic vector types */ + #if defined( __VEC__ ) +- #include /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */ ++# if !defined(__clang__) ++ #include /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */ ++# endif + typedef vector unsigned char __cl_uchar16; + typedef vector signed char __cl_char16; + typedef vector unsigned short __cl_ushort8;