djmount: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163123869
This commit is contained in:
parent
7605d492a7
commit
f31930977d
|
@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0kqf0cy3h4cfiy5a2sigmisx0lvvsi1n0fbyb9ll5gacmy1b8nxa";
|
sha256 = "0kqf0cy3h4cfiy5a2sigmisx0lvvsi1n0fbyb9ll5gacmy1b8nxa";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Taken from https://github.com/pupnp/pupnp/pull/334/files
|
||||||
|
substituteInPlace libupnp/threadutil/inc/ithread.h \
|
||||||
|
--replace \
|
||||||
|
"#define ithread_mutexattr_setkind_np pthread_mutexattr_setkind_np" \
|
||||||
|
'#define ithread_mutexattr_setkind_np pthread_mutexattr_settype'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ fuse];
|
buildInputs = [ fuse];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue