summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-10-23 09:00:22 +0200
committerGitHub <noreply@github.com>2023-10-23 09:00:22 +0200
commitd9167834c48c416fb0d777816913d360cbb2cb8e (patch)
treea6204f4977b4837e0c2d7d13ad366f2f97cf5d32
parent8a4860480a88bcadb47370e4d4604b925a0bb028 (diff)
downloadspack-d9167834c48c416fb0d777816913d360cbb2cb8e.tar.gz
spack-d9167834c48c416fb0d777816913d360cbb2cb8e.tar.bz2
spack-d9167834c48c416fb0d777816913d360cbb2cb8e.tar.xz
spack-d9167834c48c416fb0d777816913d360cbb2cb8e.zip
libtheora: fix GitLab patch (#40657)
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/libtheora/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libtheora/package.py b/var/spack/repos/builtin/packages/libtheora/package.py
index 6386da3497..7c454a5250 100644
--- a/var/spack/repos/builtin/packages/libtheora/package.py
+++ b/var/spack/repos/builtin/packages/libtheora/package.py
@@ -46,8 +46,8 @@ class Libtheora(AutotoolsPackage, MSBuildPackage):
patch("exit-prior-to-running-configure.patch", when="@1.1.1")
patch("fix_encoding.patch", when="@1.1:")
patch(
- "https://gitlab.xiph.org/xiph/theora/-/commit/7288b539c52e99168488dc3a343845c9365617c8.patch",
- sha256="8b1f256fa6bfb4ce1355c5be1104e8cfe695c8484d8ea19db06c006880a02298",
+ "https://gitlab.xiph.org/xiph/theora/-/commit/7288b539c52e99168488dc3a343845c9365617c8.diff",
+ sha256="e01ef71a1c19783a0b323b90a625e5c360ddb7ee03d2b6c201f1519f1704ea11",
when="^libpng@1.6:",
)
patch("libtheora-inc-external-ogg.patch", when="platform=windows")