Unverified Commit 45112417 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

sofia-sip: fix build with gcc-14 (#368610)

parents 0d7cc712 4ec084e8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  glib,
  openssl,
  pkg-config,
@@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-7QmK2UxEO5lC0KBDWB3bwKTy0Nc7WrdTLjoQYzezoaY=";
  };

  patches = [
    # Fix build with gcc 14 from https://github.com/freeswitch/sofia-sip/pull/249
    (fetchpatch2 {
      name = "sofia-sip-fix-incompatible-pointer-type.patch";
      url = "https://github.com/freeswitch/sofia-sip/commit/46b02f0655af0a9594e805f09a8ee99278f84777.diff";
      hash = "sha256-4uZVtKnXG+BPW8byjd7tu4uEZo9SYq9EzTEvMwG0Bak=";
    })
  ];

  buildInputs = [
    glib
    openssl