Skip to content

Commit

Permalink
libvdwxc: fix broken patch (spack#47119)
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-m authored Oct 22, 2024
1 parent 06f33dc commit 1ad5739
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions var/spack/repos/builtin/packages/libvdwxc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ def configure_args(self):
return args

# misuse of fftw_plan in m4 for fftw detection (configure fails with gcc 14)
# two patches for (1) m4 macro from upstream and (2) pre-generated configure in tarball
patch(
"https://gitlab.com/libvdwxc/libvdwxc/-/commit/9340f857515c4a2e56d2aa7cf3a21c41ba8559c3.diff",
sha256="b9ad695e54a25d7ffa92f783bb0a31d3b421225f97958972e32ba42893844b80",
when="@:0.4.0",
)
# Only the configure script is patched, NOT the m4 macro (to avoid depending on aclocal),
# so running autoreconf is not supported.
# The relevant upstream fix for the m4 would be:
# https://gitlab.com/libvdwxc/libvdwxc/-/commit/9340f857515c4a2e56d2aa7cf3a21c41ba8559c3.diff
patch("fftw-detection.patch", when="@:0.4.0")

0 comments on commit 1ad5739

Please sign in to comment.