coz: 0.2.0 -> 0.2.1, fix build w/glibc-2.30
This commit is contained in:
parent
f5da399062
commit
a27af1a593
@ -7,15 +7,19 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "coz";
|
pname = "coz";
|
||||||
version = "0.2.0";
|
version = "0.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "plasma-umass";
|
owner = "plasma-umass";
|
||||||
repo = "coz";
|
repo = "coz";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0a55q3s8ih1r9x6fp7wkg3n5h1yd9pcwg74k33d1r94y3j3m0znr";
|
sha256 = "0val36yw987b1558iiyk3nqg0yy5k9y5wh49v91zj3cs58mmfyhc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e '/pid_t gettid/,+2d' libcoz/ccutil/thread.h
|
||||||
|
'';
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
# This is currently hard-coded. Will be fixed in the next release.
|
# This is currently hard-coded. Will be fixed in the next release.
|
||||||
sed -e "s|/usr/lib/|$out/lib/|" -i ./coz
|
sed -e "s|/usr/lib/|$out/lib/|" -i ./coz
|
||||||
|
Loading…
Reference in New Issue
Block a user