Merge pull request #141996 from rnhmjoj/pr-tnat64

tnat64: 0.05 -> 0.06
This commit is contained in:
Michele Guerini Rocco 2021-10-17 23:47:32 +02:00 committed by GitHub
commit 1b5dc4fed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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