forked from mirrors/nixpkgs
tnat64: 0.05 -> 0.06
This commit is contained in:
parent
22374e1705
commit
b3d5811308
|
@ -2,20 +2,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tnat64";
|
||||
version = "0.05";
|
||||
version = "0.06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrewshadura";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "07lmzidbrd3aahk2jvv93cic9gf36pwmgfd63gmy6hjkxf9a6fw9";
|
||||
sha256 = "191j1fpr3bw6fk48npl99z7iq6m1g33f15xk5cay1gnk5f46i2j6";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Fix usage of deprecated sys_errlist
|
||||
substituteInPlace tnat64.c --replace 'sys_errlist[errno]' 'strerror(errno)'
|
||||
'';
|
||||
|
||||
configureFlags = [ "--libdir=$(out)/lib" ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue