udp2raw: disable address sanitization

udp2raw crashes very frequently when it's turned on. Reported upstream at
https://github.com/wangyu-/udp2raw/issues/474/.
This commit is contained in:
Charlotte Van Petegem 2023-06-07 13:20:08 +02:00
parent 381e92a35e
commit 8ae1986fa4
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
postPatch = ''
echo 'const char *gitversion = "${version}";' > git_version.h
# Adress sanitization crashes the application, reported upstream at https://github.com/wangyu-/udp2raw/issues/474
substituteInPlace CMakeLists.txt --replace "sanitize=address," "sanitize="
'';
nativeBuildInputs = [