libvdwxc: fix broken patch (#47119)

This commit is contained in:
Martin Lang 2024-10-23 00:53:58 +02:00 committed by GitHub
parent 06f33dcdbb
commit 1ad5739094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,10 +56,8 @@ def configure_args(self):
return args return args
# misuse of fftw_plan in m4 for fftw detection (configure fails with gcc 14) # 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 # Only the configure script is patched, NOT the m4 macro (to avoid depending on aclocal),
patch( # so running autoreconf is not supported.
"https://gitlab.com/libvdwxc/libvdwxc/-/commit/9340f857515c4a2e56d2aa7cf3a21c41ba8559c3.diff", # The relevant upstream fix for the m4 would be:
sha256="b9ad695e54a25d7ffa92f783bb0a31d3b421225f97958972e32ba42893844b80", # https://gitlab.com/libvdwxc/libvdwxc/-/commit/9340f857515c4a2e56d2aa7cf3a21c41ba8559c3.diff
when="@:0.4.0",
)
patch("fftw-detection.patch", when="@:0.4.0") patch("fftw-detection.patch", when="@:0.4.0")