summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lang <67915889+lang-m@users.noreply.github.com>2024-10-23 00:53:58 +0200
committerGitHub <noreply@github.com>2024-10-23 00:53:58 +0200
commit1ad5739094748272e9fa540193dceb20db934311 (patch)
tree0ce232845486b1ca18972860848b67c0befc9b1b
parent06f33dcdbbaa8e87cc62b6ebfd1e9842de1a7b36 (diff)
downloadspack-1ad5739094748272e9fa540193dceb20db934311.tar.gz
spack-1ad5739094748272e9fa540193dceb20db934311.tar.bz2
spack-1ad5739094748272e9fa540193dceb20db934311.tar.xz
spack-1ad5739094748272e9fa540193dceb20db934311.zip
libvdwxc: fix broken patch (#47119)
-rw-r--r--var/spack/repos/builtin/packages/libvdwxc/package.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/libvdwxc/package.py b/var/spack/repos/builtin/packages/libvdwxc/package.py
index e0e7241d95..f9d6a0d845 100644
--- a/var/spack/repos/builtin/packages/libvdwxc/package.py
+++ b/var/spack/repos/builtin/packages/libvdwxc/package.py
@@ -56,10 +56,8 @@ class Libvdwxc(AutotoolsPackage):
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")