void-packages/srcpkgs/gpsd/patches/musl-sockaddr.patch

13 lines
622 B
Diff

diff -urN gpsd-3.15-old/SConstruct gpsd-3.15-new/SConstruct
--- gpsd-3.15-old/SConstruct 2015-09-17 01:33:26.227445589 -0400
+++ gpsd-3.15-new/SConstruct 2015-09-17 01:34:11.761522374 -0400
@@ -613,7 +613,7 @@
confdefs.append("#define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen((ptr)->sun_path))\n")
confdefs.append("#endif /* SUN_LEN */\n")
- if config.CheckHeader(["bits/sockaddr.h", "linux/can.h"]):
+ if config.CheckHeader(["linux/can.h"]):
confdefs.append("#define HAVE_LINUX_CAN_H 1\n")
announce("You have kernel CANbus available.")
else: