3
0
Fork 0
forked from mirrors/nixpkgs

tnat64: 0.05 -> 0.06

This commit is contained in:
rnhmjoj 2021-10-17 15:50:49 +02:00
parent 22374e1705
commit b3d5811308
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -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 ];