mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
jami: fix build with libgit2 1.8.4
(cherry picked from commit 6b4dfe7199
)
This commit is contained in:
parent
96dcda230c
commit
05469c7903
@ -188,6 +188,12 @@ stdenv.mkDerivation rec {
|
|||||||
inherit src version meta;
|
inherit src version meta;
|
||||||
sourceRoot = "${src.name}/daemon";
|
sourceRoot = "${src.name}/daemon";
|
||||||
|
|
||||||
|
# Fix for libgit2 breaking changes
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/jamidht/conversationrepository.cpp \
|
||||||
|
--replace-fail "git_commit* const" "const git_commit*"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user