Subject: [bug#76269] [PATCH 2/2] gnu: freecad: Add vtk 9.4.1 patch.

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 27 Feb 2025 23:27:25 +0900

Hi Lars,

Lars Bilke <[email-masked]> writes:

> * gnu/packages/engineering.scm (freecad): Add vtk 9.4.1 patch.
> * gnu/local.mk: Add freecad vtk 9.4.1 patch to list.
>
> Change-Id: I9220aec757c2331a2dfa3eee9d0b84f774785de3
> ---
>  gnu/local.mk                              |  1 +
>  gnu/packages/engineering.scm              |  1 +
>  gnu/packages/patches/freecad-vtk941.patch | 71 +++++++++++++++++++++++
>  3 files changed, 73 insertions(+)
>  create mode 100644 gnu/packages/patches/freecad-vtk941.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 45a9cb635e..35e1b5e6b6 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -1317,6 +1317,7 @@ dist_patch_DATA =						\
>    %D%/packages/patches/fpc-reproducibility.patch		\
>    %D%/packages/patches/fpc-glibc-2.34-compat.patch		\
>    %D%/packages/patches/fpm-newer-clamp-fix.patch		\
> +  %D%/packages/patches/freecad-vtk941.patch	\
>    %D%/packages/patches/freedict-tools-fix-determinism.patch	\
>    %D%/packages/patches/freedink-engine-fix-sdl-hints.patch	\
>    %D%/packages/patches/freeimage-libtiff-compat.patch		\
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 234f4a2b03..d4d920cd08 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3173,6 +3173,7 @@ (define-public freecad
>         (file-name (git-file-name name version))
>         (sha256
>          (base32 "0wwymcfgi0cybj7m6awflk8c7n6iy97lpgpfhfncx3zwvjrxv588"))
> +       (patches (search-patches "freecad-vtk941.patch"))  ;; remove on 1.1 release

Thanks for the patch.  Is there a reason we cannot update our freecade
to 1.1 yet?  Perhaps it is not released?

Otherwise, LGTM.

Reviewed-by: Maxim Cournoyer <[email-masked]>

--
Thanks,
Maxim