Skip to content

Commit

Permalink
libice fix for older glibc (spack#42586)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu94 authored Feb 8, 2024
1 parent db1a740 commit af49f81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/libice/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ class Libice(AutotoolsPackage, XorgPackage):
version("1.0.10", sha256="1116bc64c772fd127a0d0c0ffa2833479905e3d3d8197740b3abd5f292f22d2d")
version("1.0.9", sha256="7812a824a66dd654c830d21982749b3b563d9c2dfe0b88b203cefc14a891edc0")

# technically libbsd is only required when glibc < 2.36 which provides arc4random_buf,
# but spack doesn't currently have a good way to model this so we depend on it unconditionally
depends_on("libbsd", when="platform=linux")
depends_on("libbsd", when="platform=cray")

depends_on("xproto")
depends_on("xtrans")
depends_on("pkgconfig", type="build")
Expand Down

0 comments on commit af49f81

Please sign in to comment.