Unverified Commit 64719655 authored by Austin Horstman's avatar Austin Horstman
Browse files

telepathy-glib: fix gcc14 build

parent d38d66a8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  gobject-introspection,
  vala,
  glibcLocales,
  fetchpatch,
}:

stdenv.mkDerivation rec {
@@ -56,6 +57,15 @@ stdenv.mkDerivation rec {
    substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
  '';

  patches = [
    # Upstream unreleased patch for gcc14 error
    (fetchpatch {
      name = "fix-incompatible-pointer-types.patch";
      url = "https://github.com/TelepathyIM/telepathy-glib/commit/72412c944b771f3214ddc40fa9dea82cea3a5651.patch";
      hash = "sha256-NXQel0eS7zK6FRbJcPsPXCQxos0xT8EN102vX94M5Vo=";
    })
  ];

  meta = with lib; {
    homepage = "https://telepathy.freedesktop.org";
    platforms = platforms.unix;