libserdes: fix compatibility with Avro master branch

This commit is contained in:
Daniel Nagy 2021-07-11 14:26:29 +02:00
parent b41b71729e
commit b6e09527b2
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, perl
, boost
, rdkafka
@ -28,6 +29,14 @@ stdenv.mkDerivation rec {
makeFlags = [ "GEN_PKG_CONFIG=y" ];
patches = [
# Fix compatibility with Avro master branch
(fetchpatch {
url = "https://github.com/confluentinc/libserdes/commit/d7a355e712ab63ec77f6722fb5a9e8056e7416a2.patch";
sha256 = "14bdx075n4lxah63kp7phld9xqlz3pzs03yf3wbq4nmkgwac10dh";
})
];
postPatch = ''
patchShebangs configure lds-gen.pl
'';