From nobody Sun Nov 14 08:40:25 2021 X-Original-To: dev-commits-ports-main@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 CC9B41865574; Sun, 14 Nov 2021 08:40:25 +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 4HsQkd5MbTz4WnC; Sun, 14 Nov 2021 08:40:25 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 946A8236A1; Sun, 14 Nov 2021 08:40:25 +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 1AE8ePr3058221; Sun, 14 Nov 2021 08:40:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AE8ePft058220; Sun, 14 Nov 2021 08:40:25 GMT (envelope-from git) Date: Sun, 14 Nov 2021 08:40:25 GMT Message-Id: <202111140840.1AE8ePft058220@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: ec284b1d5793 - main - graphics/darktable: Fix build on aarch64. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec284b1d57935ec9fa44d11653a7607a549c129c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec284b1d57935ec9fa44d11653a7607a549c129c commit ec284b1d57935ec9fa44d11653a7607a549c129c Author: Mikael Urankar AuthorDate: 2021-11-14 08:39:52 +0000 Commit: Mikael Urankar CommitDate: 2021-11-14 08:39:52 +0000 graphics/darktable: Fix build on aarch64. Approved by: portmgr (build fix blanket) --- graphics/darktable/Makefile | 2 +- graphics/darktable/files/patch-src_is__supported__platform.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 7461dd2577d5..0bc2534ee8e5 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -117,7 +117,7 @@ WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF .include -.if ${ARCH} == powerpc64le +.if ${ARCH} == aarch64 || ${ARCH} == powerpc64le CMAKE_ARGS+= -DUSE_OPENCL:BOOL=OFF CXXFLAGS+= -DGDK_DISABLE_DEPRECATED PLIST_SUB+= NO_OPENCL="@comment " diff --git a/graphics/darktable/files/patch-src_is__supported__platform.h b/graphics/darktable/files/patch-src_is__supported__platform.h new file mode 100644 index 000000000000..25c546371dea --- /dev/null +++ b/graphics/darktable/files/patch-src_is__supported__platform.h @@ -0,0 +1,11 @@ +--- src/is_supported_platform.h.orig 2021-11-14 08:33:27 UTC ++++ src/is_supported_platform.h +@@ -30,7 +30,7 @@ + #define DT_SUPPORTED_X86 0 + #endif + +-#if defined(__aarch64__) && (defined(__ARM_64BIT_STATE) && defined(__ARM_ARCH) && defined(__ARM_ARCH_8A) || defined(__APPLE__)) ++#if defined(__aarch64__) && (defined(__ARM_64BIT_STATE) && defined(__ARM_ARCH) && defined(__ARM_ARCH_8A) || defined(__APPLE__) || defined(__FreeBSD__)) + #define DT_SUPPORTED_ARMv8A 1 + #else + #define DT_SUPPORTED_ARMv8A 0