From nobody Mon Jul 18 12:51:55 2022 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 4LmhgH5F5zz4T4rg; Mon, 18 Jul 2022 12:51:55 +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 4LmhgH34VQz3mm6; Mon, 18 Jul 2022 12:51:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658148715; 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=pLhGfNqj2BQQk3gIzz8P7O7qkar3nMM7T8bY2Tk+wBo=; b=YZOUMHjcyvMZPc2DsBw9Q3/y8yN+C3JFdRWXUt5fcHhCUezKvWWyvcgRbuyeOrTz6Kw70O dvUIDAmgWYWUtne92Vf8me/ny5IE5qgs7k9HO0krTeTFUqB8SaVdDwDgtP3PqGosHBX6Ci Zgkgq8YX4kz+XDHZQBVCsrS+l7BeWjqdhsOm4PZ8SYHxwBmPO6m515nKWLAZZD0e8r+YKK KZFmmoCjTS7vCebde32I3VmU9U/jEofD9xOkDM2E9DnTI2f2lsltnAXQ6pmVDZ76VMyv8k jNytnN7MpO89eEM2U5Ad/5n+MSADp0W3HmE5gdJzhGIbh9RCx8ziBXQ/0/HdpA== 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 4LmhgH0lwlzgBP; Mon, 18 Jul 2022 12:51:55 +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 26ICptdU092021; Mon, 18 Jul 2022 12:51:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26ICpttk092020; Mon, 18 Jul 2022 12:51:55 GMT (envelope-from git) Date: Mon, 18 Jul 2022 12:51:55 GMT Message-Id: <202207181251.26ICpttk092020@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 27d86b9f6d46 - main - cad/csxcad: Fix build with HDF5 1.12.0+ 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27d86b9f6d46035d172ff388ac37beff1579b3df Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658148715; 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=pLhGfNqj2BQQk3gIzz8P7O7qkar3nMM7T8bY2Tk+wBo=; b=q6diSJfS8MXcH0Fnm2uv7periL/BAnMfc3kb3XfUZFifiGrhgZ/FnEi4QOPco+xC2otAkb 61mmhsHLzSgN7aeUQS5hkaDDyACf9oHT+a+EM2RSlnxMeuye+aGvRSwWhefeew51T5NSIW XxNe29BTvbpQuY3+3HWBTIw99tNuuj1yJgqdRr/4hWqz7MxaQx+PrdJbZY2Ye+ALR3vHPf buziCyqQrcZ0LIczmzoVJTQwv0vgHvZrH1agFDfzBFU8g3YvMYdUCjYvRCCYBtDJphnm8x tZfAXqk165zp/l+ifrNjhxFbG8gMP+V+hKq9mw/xNRXr4ufJ4lq7AIgnefxmXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658148715; a=rsa-sha256; cv=none; b=QfZV7tpEP2vc3mw9SO5WINAGb6J5L7JSigWFiNA9OmXNZRDHW0zZPpoEdSXJH/0ZB582z7 tv0ghMwO9MELUx6T8h76ro87VBSd1Drnnz0LwvcE6w57oS7xka3+3x6KkIGPvDFFff2Jrn wEEpUAQBHW5Hpo1VCA1Wez0Q9TWRx5hnn52bYI3vbtiMRh3+ggaN2M/nPKKz82vtAeRGXQ g/owdl57F4JYB6VICunlBC37bkCRRwqyA8lSqm80vQL10ar5hXoMgnbwikcU0uv6TRQPQM tDAX6B0taozAfgzI2PUmZjepepb/DTmzBIa8Z7qeLEJAH/7NhmY9MRGyYMYJXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=27d86b9f6d46035d172ff388ac37beff1579b3df commit 27d86b9f6d46035d172ff388ac37beff1579b3df Author: Po-Chuan Hsieh AuthorDate: 2022-07-18 12:50:18 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-18 12:50:18 +0000 cad/csxcad: Fix build with HDF5 1.12.0+ --- cad/csxcad/files/patch-hdf5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cad/csxcad/files/patch-hdf5 b/cad/csxcad/files/patch-hdf5 new file mode 100644 index 000000000000..c4134ce21cd4 --- /dev/null +++ b/cad/csxcad/files/patch-hdf5 @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2022-07-01 18:43:14 UTC ++++ CMakeLists.txt +@@ -100,7 +100,8 @@ message(STATUS "TinyXML_LIBRARY: ${TinyXML_LIBRARY}") + + INCLUDE_DIRECTORIES( ${TinyXML_INCLUDE_DIR} ) + +-find_package(HDF5 1.8 COMPONENTS C HL REQUIRED) ++set(HDF5_INCLUDE_DIRS "${LOCALBASE}/include") ++set(HDF5_LIBRARY_DIRS "${LOCALBASE}/lib") + INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS}) + link_directories(${HDF5_LIBRARY_DIRS}) + # hdf5 compat