summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-10-23 08:58:24 +0200
committerGitHub <noreply@github.com>2023-10-23 08:58:24 +0200
commit428202b24690f52340481735df5fe47726ab8cc2 (patch)
tree7402a47189774e54a89079c0e32b971ca13f14ef
parent1c0d3bc07158578a34ea5fd4f7565386085302c0 (diff)
downloadspack-428202b24690f52340481735df5fe47726ab8cc2.tar.gz
spack-428202b24690f52340481735df5fe47726ab8cc2.tar.bz2
spack-428202b24690f52340481735df5fe47726ab8cc2.tar.xz
spack-428202b24690f52340481735df5fe47726ab8cc2.zip
libxml2: fix GitLab patch (#40658)
GitLab's .patch URLs do not provide stable/full hashes, while .diff URLs do. See #40656 for more information.
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index f0de744c59..ca92e6994a 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -74,8 +74,8 @@ class Libxml2(AutotoolsPackage, NMakePackage):
# Use NAN/INFINITY if available to avoid SIGFPE
# See https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/186
patch(
- "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c9925454fd384a17c8c03d358c6778a552e9287b.patch",
- sha256="3e06d42596b105839648070a5921157fe284b932289ffdbfa304ddc3457e5637",
+ "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c9925454fd384a17c8c03d358c6778a552e9287b.diff",
+ sha256="5dc43fed02b443d2563a502a52caafe39477c06fc30b70f786d5ed3eb5aea88d",
when="@2.9.11:2.9.14",
)
build_system(conditional("nmake", when="platform=windows"), "autotools", default="autotools")