diff options
author | Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | 2023-10-22 19:18:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 11:18:16 -0600 |
commit | eea3c07628d8c9f796cd5fb2649dc93933aa8a9f (patch) | |
tree | afe1590da9694bd7ce2f8ec2082a612e9d1a8401 | |
parent | 7cd5fcb48491441eee3aebc390e8551cc01b47e4 (diff) | |
download | spack-eea3c07628d8c9f796cd5fb2649dc93933aa8a9f.tar.gz spack-eea3c07628d8c9f796cd5fb2649dc93933aa8a9f.tar.bz2 spack-eea3c07628d8c9f796cd5fb2649dc93933aa8a9f.tar.xz spack-eea3c07628d8c9f796cd5fb2649dc93933aa8a9f.zip |
glib: add patch with a fix for PTRACE_0_EXITKILL (#40655)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/glib/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py index 7ccdf2fd2a..1dd0ad9ea2 100644 --- a/var/spack/repos/builtin/packages/glib/package.py +++ b/var/spack/repos/builtin/packages/glib/package.py @@ -173,6 +173,13 @@ class Glib(MesonPackage, AutotoolsPackage): patch("meson-gettext-2.66.patch", when="@2.66:2.68,2.72") patch("meson-gettext-2.70.patch", when="@2.70") + # Don't use PTRACE_O_EXITKILL if it's not defined + patch( + "https://gitlab.gnome.org/GNOME/glib/-/commit/bda87264372c006c94e21ffb8ff9c50ecb3e14bd.diff", + sha256="2c25d7b3bf581b3ec992d7af997fa6c769174d49b9350e0320c33f5e048cba99", + when="@2.78.0", + ) + def url_for_version(self, version): """Handle glib's version-based custom URLs.""" url = "https://download.gnome.org/sources/glib" |