From owner-svn-ports-all@freebsd.org Tue Nov 17 15:24:01 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 6CA412EF4F3; Tue, 17 Nov 2020 15:24:01 +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 4Cb8qP2jFtz4n3Z; Tue, 17 Nov 2020 15:24:01 +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 4FDE7222AB; Tue, 17 Nov 2020 15:24:01 +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 0AHFO1Ur048642; Tue, 17 Nov 2020 15:24:01 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AHFO0xX048640; Tue, 17 Nov 2020 15:24:01 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202011171524.0AHFO0xX048640@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 17 Nov 2020 15:24:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555560 - in head/graphics/darktable: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/graphics/darktable: . files X-SVN-Commit-Revision: 555560 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.34 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: Tue, 17 Nov 2020 15:24:01 -0000 Author: pkubaj Date: Tue Nov 17 15:24:00 2020 New Revision: 555560 URL: https://svnweb.freebsd.org/changeset/ports/555560 Log: graphics/darktable: fix build on powerpc64le, add aarch64 to the mix powerpc64le needs already committed patch for opencl, aarch64 is untested because: [00:00:12] Finished lang/rust | rust-1.47.0: Ignored: fails to build with qemu-user-static It may need another fix. Added: head/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h (contents, props changed) Modified: head/graphics/darktable/Makefile Modified: head/graphics/darktable/Makefile ============================================================================== --- head/graphics/darktable/Makefile Tue Nov 17 14:12:10 2020 (r555559) +++ head/graphics/darktable/Makefile Tue Nov 17 15:24:00 2020 (r555560) @@ -12,8 +12,8 @@ COMMENT= Virtual lighttable and darkroom for photograp LICENSE= GPLv3 -ONLY_FOR_ARCHS= amd64 -ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le +ONLY_FOR_ARCHS_REASON= uses 64-bit address space BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ Added: head/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h Tue Nov 17 15:24:00 2020 (r555560) @@ -0,0 +1,13 @@ +--- src/external/OpenCL/CL/cl_platform.h.orig 2020-11-17 15:04:41 UTC ++++ src/external/OpenCL/CL/cl_platform.h +@@ -355,7 +355,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;