From nobody Mon Dec 2 18:40:18 2024 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 4Y2CJg1l4Kz5gFwC; Mon, 02 Dec 2024 18:40:19 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2CJg0skMz4jxq; Mon, 2 Dec 2024 18:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733164819; 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=SOStajnBYKmvcxcBdp8KKuQfJbPXfHNMgul+ckATkV0=; b=AoEIFho20Jt1i/mWF+u2dsvL2El1x4jfXEm3hlHDDlXttRhnXHvGRgeCFnu45Ub+CjP6tm hyGn2r5B3Rl1s6u8cCADAHEMiXhyk5geQ7NHV0eCCc2Ly74bvYGvCzQjfmS7TtyHUmltrX s9555YfRa8X7JweYuKDWjN/sd1h2ukTUQBn0njMcf6+79Swk9A/ojWMh5BC7BU+qcTSyA/ KPtXerTkwxH0jf5WMdVFsEgpAqnJlHnvcQnEEoN9R8sXmSk8wG0KrnEGoNsLC6fcN8VBdO tQM5SQknGRUBOzPIvox121UAeyga7WP1fCUK6L/6flcOF88uqmH9BhA4U2LiJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733164819; 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=SOStajnBYKmvcxcBdp8KKuQfJbPXfHNMgul+ckATkV0=; b=qm9XTArFhMT/xmExdOrbuKsuPyf0yMAdY7LO1roesFDAAAtT7YYJbNNqdJ0Mm8sE9FkPzF X1JZE+2rqfDWz5MmfsL7kaMOIn0vhoS6/L+JbTvRsLOIYuqsyBZSkwjuY2Qp3fKayQvSpt 3k8XqLt6s0oWfna4FZHgrT6cvsu5nyhb69gWdonI4I0tTlz9vPVUHr9G5xM1vXSeAQ9Fjw W6AZvlkBMTNJFEVGqN+WyTVmjPGgcQV80llIaOHkh+15dxkjz/pHeUdvmY6b3dqFdFe/46 HAYzMCnnVvMIlqWpyB4GjgG8gSFa8rsjr5uvWqV6OpBPjsY9AmFnjfXnc0QRlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733164819; a=rsa-sha256; cv=none; b=gLogKI5YmUVcqSyIG34igLXBwNX2nB6gLCPA5prZGIqbSmbf2YRYbcbATOH1Zbr3H/OQPG qrBHiB0xuDfH1oaMHlXbAP/8Y7bDJOBTpcTWRwbEc/R4bNIi1OaqSB/utAxGCpD4Jvn/Ya WV8tk6CnboRiKcrTZAlqoW4NODYXNxmQlYE2UMbtR8oTA3hJ1vwtLVXqy7Vbyucl2KZH0T a34vQmirh5aZYII2lHBN6n1Wkco0JASX0vVY8aQERyaZfPQ40u7jzU/7Tezfj5YCuhFI6f j4hZS86x3zLecomiBURCAgxm+qSL9EjsrnAjabCbsRSK2O6eZbsTPJvZLh672w== 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 4Y2CJg0LZ3zpyn; Mon, 2 Dec 2024 18:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B2IeIFm021770; Mon, 2 Dec 2024 18:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B2IeImG021767; Mon, 2 Dec 2024 18:40:18 GMT (envelope-from git) Date: Mon, 2 Dec 2024 18:40:18 GMT Message-Id: <202412021840.4B2IeImG021767@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: be7c6e82ef00 - main - cad/openvsp: Unbreak in 15 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: be7c6e82ef00ef5480dfb61f1970e074a1b73262 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=be7c6e82ef00ef5480dfb61f1970e074a1b73262 commit be7c6e82ef00ef5480dfb61f1970e074a1b73262 Author: Fernando ApesteguĂ­a AuthorDate: 2024-11-26 17:51:49 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-12-02 18:39:41 +0000 cad/openvsp: Unbreak in 15 --- .../patch-Libraries_cmake_External__STEPCode.cmake | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/cad/openvsp/files/patch-Libraries_cmake_External__STEPCode.cmake b/cad/openvsp/files/patch-Libraries_cmake_External__STEPCode.cmake new file mode 100644 index 000000000000..add33de9689f --- /dev/null +++ b/cad/openvsp/files/patch-Libraries_cmake_External__STEPCode.cmake @@ -0,0 +1,21 @@ +--- Libraries/cmake/External_STEPCode.cmake.orig 2024-11-11 02:55:22 UTC ++++ Libraries/cmake/External_STEPCode.cmake +@@ -30,6 +30,11 @@ ExternalProject_Add( STEPCODE + -DSC_BUILD_SHARED_LIBS=${SC_SHARED} + -DSC_PYTHON_GENERATOR=OFF + -DSC_INSTALL_PREFIX:PATH= ++ # Patch to avoid build failure in FBSD 15 and higher ++ PATCH_COMMAND ${CMAKE_COMMAND} -E echo "Patching files...${CMAKE_SOURCE_DIR} - ${CMAKE_BINARY_DIR}" && ++ ${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR}/STEPCODE-prefix/src/STEPCODE/src/base/judy/src/ sed -i '' -e "s/strncpy\( _buff, other._buff/strncpy\( (char *)_buff, (char *)other._buff/g" judySArray.h && ++ ${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR}/STEPCODE-prefix/src/STEPCODE/src/base/judy/src/ sed -i '' -e "s/strncpy\( _buff, other._buff/strncpy\( (char *)_buff, (char *)other._buff/g" judyS2Array.h ++ + ) + ExternalProject_Get_Property( STEPCODE SOURCE_DIR ) + ExternalProject_Get_Property( STEPCODE BINARY_DIR ) +@@ -47,4 +52,4 @@ SET( STEPCODE_BINARY_DIR ${BINARY_DIR} ) + # Consequently, force Debug so it installs in ../sc-install directory + # instead of /usr/local/lib. + # +-# SC's own programs fail to build with -DSC_BUILD_SHARED_LIBS=OFF +\ No newline at end of file ++# SC's own programs fail to build with -DSC_BUILD_SHARED_LIBS=OFF