Unverified Commit f6615391 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python3Packages.py-libzfs: fix gcc 14 compilation (#412079)

parents dd2711e6 707cdfb7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,12 @@ buildPythonPackage rec {
      url = "https://github.com/truenas/py-libzfs/commit/b5ffe1f1d6097df6e2f5cc6dd3c968872ec60804.patch";
      hash = "sha256-6r5hQ/o7c4vq4Tfh0l1WbeK3AuPvi+1wzkwkIn1qEes=";
    })
    # Upstream has open PR. Debian uses the patch.
    # https://github.com/truenas/py-libzfs/pull/277
    (fetchpatch2 {
      url = "https://salsa.debian.org/python-team/packages/py-libzfs/-/raw/debian/0.0+git20240510.5ae7d5e-1/debian/patches/fix-compilation-on-gcc-14.patch";
      hash = "sha256-KLxRx2k1LQGtmzMqJe9b84ApOnIXn8ZeBZun5BAxEjc=";
    })
  ];

  build-system = [ cython_0 ];