forked from mirrors/nixpkgs
gpsd: fix build w/glibc-2.30
This commit is contained in:
parent
abefd4f78a
commit
edbbd1e044
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue