3
0
Fork 0
forked from mirrors/nixpkgs

gpsd: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch 2020-01-30 15:24:04 +01:00
parent abefd4f78a
commit edbbd1e044
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -42,6 +42,10 @@ stdenv.mkDerivation rec {
./0002-scons-envs-patch.patch
];
postPatch = ''
sed -i -e '17i#include <sys/sysmacros.h>' serial.c
'';
# - leapfetch=no disables going online at build time to fetch leap-seconds
# info. See <gpsd-src>/build.txt for more info.
preBuild = ''