sofia-sip: fix build with gcc-14
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user