From nobody Wed Nov 22 14:11:24 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 4Sb37w6WLkz51jxZ; Wed, 22 Nov 2023 14:11:24 +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 4Sb37w6582z4RR0; Wed, 22 Nov 2023 14:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700662284; 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=XBex/Tv0EWC0WJbuIphWtFq6H9Px0JLGYJppSdAiJbQ=; b=uCT5vdhYQKEVUVz52SdMBnsLiFvLJiCWYJFdNmsrsxd5689acjHaj6E3N97x8vJxf7TfrE KB90xUiiSFl2nXUv3tFSrxwDf6OO+08oK4hTObjoI0v3009G+3dbGOF4D6g9eOx9Rd+9/k nJkQZoVr/rXRRckWY7V1mZ9hXXZA5egCXYKKIdUDgX9zxYz/c0sKKjzmdZt9iokYQFymZD W5rNNuGxUscm69wxicKu/B7w8WEnstce6zSqABvd3XtiBMKEuQEaFgpuWr4ffhl95CW8mI NOexxfQeVl1xq/odRncVPnG79Z6ya1xyKEAoyRHjfwWZI44s3SeL96+yGQRinQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700662284; 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=XBex/Tv0EWC0WJbuIphWtFq6H9Px0JLGYJppSdAiJbQ=; b=o08Z2KOdMcpz8IxnNvRKO7mzR869U5udAyqPJB7Djl+p1Rm7FQMJW+1S5ZPt2Vyw1uYvpK SM5ITY2xEpXmVmlT4jZf1igWwCb/Ph29vR42gs4+G88c9u+PSj0Aumu+I/6+LKhRa8vruz 64yBYqJjbZDEGqWtHhzgOcG76LTnYQyit0NwzLI85e1hmdtS+U+phP0az2kM5pFWHt7i67 WvBQw9w8vqUkCiEMSWLhsx62B68LhucmH7xsCAGiPq6x40rbypuzH7Un/E+nVuSBsDBZxk SzOGf73e6OBHoF4XKy6Fwm16gApoMKFZNAjO+AkkSof1bOxwAuUYXsRkCOqxsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700662284; a=rsa-sha256; cv=none; b=b6Qhl5sVU5JjaA7Jn9epA3s5RCtPA8S+ODbcBiCe+o8WOTtWuKItBtKyfSDJ3vOD3ciHlL p9PkKzTMz84F8iqiM7sP8TXcpgzdO3xUuy7e8Zh2y/4QZQFHS9nlEvhZqvFipWEXhOQOKJ G8KTiXtsjRgFBbzjR3wBI68kObQe1CJNZpDTdjRBf8LVW+QsRXhFa7KQpmBRSNveu3jsua ABwXfk0gKDxSrJlDpptIGOcYGwBR4tI4CEF8K4KKNSjfiw7h8OHbDt3MfdBEMN55luox/e ZNdEyE76SCCVqfIYeqKiQyZVReZKBODlpX3H/BGCzvGYVzOUxzguAsUxsaY6SA== 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 4Sb37w59qkz6cP; Wed, 22 Nov 2023 14:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AMEBOkj013466; Wed, 22 Nov 2023 14:11:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AMEBOw2013463; Wed, 22 Nov 2023 14:11:24 GMT (envelope-from git) Date: Wed, 22 Nov 2023 14:11:24 GMT Message-Id: <202311221411.3AMEBOw2013463@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: 4b9eecf1acbc - main - science/qt6-quick3dphysics: fix build on powerpc64* 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: 4b9eecf1acbcfa407f5c8bb6f52f480a9985625f Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b9eecf1acbcfa407f5c8bb6f52f480a9985625f commit 4b9eecf1acbcfa407f5c8bb6f52f480a9985625f Author: Piotr Kubaj AuthorDate: 2023-11-22 12:03:12 +0000 Commit: Piotr Kubaj CommitDate: 2023-11-22 14:11:21 +0000 science/qt6-quick3dphysics: fix build on powerpc64* Correctly detect 64-bits: /wrkdirs/usr/ports/science/qt6-quick3dphysics/work/qtquick3dphysics-everywhere-src-6.5.3/src/3rdparty/PhysX/source/common/src/CmPtrTable.h:137:1: error: 'PxCompileTimeAssert_Dummy' declared as an array with a negative size PX_COMPILE_TIME_ASSERT(sizeof(Cm::PtrTable)==8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/qt6-quick3dphysics/work/qtquick3dphysics-everywhere-src-6.5.3/src/3rdparty/PhysX/pxshared/include/foundation/PxPreprocessor.h:463:76: note: expanded from macro 'PX_COMPILE_TIME_ASSERT' ^~~~~~~~~~~~~~ 1 error generated. --- ...y_PhysX_pxshared_include_foundation_PxPreprocessor.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/science/qt6-quick3dphysics/files/patch-src_3rdparty_PhysX_pxshared_include_foundation_PxPreprocessor.h b/science/qt6-quick3dphysics/files/patch-src_3rdparty_PhysX_pxshared_include_foundation_PxPreprocessor.h index 4f2e2c01d0f2..3c640b14d7e1 100644 --- a/science/qt6-quick3dphysics/files/patch-src_3rdparty_PhysX_pxshared_include_foundation_PxPreprocessor.h +++ b/science/qt6-quick3dphysics/files/patch-src_3rdparty_PhysX_pxshared_include_foundation_PxPreprocessor.h @@ -11,13 +11,22 @@ Index: src/3rdparty/PhysX/pxshared/include/foundation/PxPreprocessor.h #elif defined(TARGET_OS_IOS) && TARGET_OS_IOS && defined(__APPLE__) && (defined(__arm__) || defined(__arm64__)) #define PX_IOS 1 #elif defined(__APPLE__) -@@ -187,6 +190,9 @@ define anything not defined on this platform to 0 - #endif +@@ -188,6 +191,9 @@ define anything not defined on this platform to 0 #ifndef PX_LINUX #define PX_LINUX 0 -+#endif + #endif +#ifndef PX_FREEBSD +#define PX_FREEBSD 0 - #endif ++#endif #ifndef PX_IOS #define PX_IOS 0 + #endif +@@ -278,7 +284,7 @@ family shortcuts + // architecture + #define PX_INTEL_FAMILY (PX_X64 || PX_X86) + #define PX_ARM_FAMILY (PX_ARM || PX_A64) +-#define PX_P64_FAMILY (PX_X64 || PX_A64 || PX_WASM_64) // shortcut for 64-bit architectures ++#define PX_P64_FAMILY (PX_X64 || PX_A64 || PX_WASM_64 || __powerpc64__) // shortcut for 64-bit architectures + + /** + C++ standard library defines