Patch bug in elpa's cpp (#49462)

Elpa's custom preprocessor createst temporary files for which it
assembles long filenames and then uses the last 250 characters. This
results in compilation errors when the first character happens to be a
dash.
This commit is contained in:
Martin Lang 2025-03-14 04:36:06 +01:00 committed by GitHub
parent 6ba7aa325b
commit de9f92c588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,12 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage):
)
patch("fujitsu.patch", when="%fj")
# wrong filename handling in elpa's custom preprocessor
patch(
"https://gitlab.mpcdf.mpg.de/elpa/elpa/-/commit/5a821b79dd2905c691fc0973c9f3044904ac2653.diff",
sha256="90f18c84e740a35d726e44078a111fac3b6278a0e750ce1f3ea154ee78e93298",
when="@:2025.01.001",
)
depends_on("autoconf@2.71:", type="build", when="@master")
depends_on("automake", type="build", when="@master")