void-packages/srcpkgs/gpm/patches/musl-linux_major_h.patch
jbu 954db63486 gpm: unbreak musl
+ remove systemd build option
2015-06-22 20:26:24 +02:00

12 lines
443 B
Diff

The macro major() is defined in sys/sysmacros.h
--- src/daemon/open_console.c 2012-10-26 23:21:38.000000000 +0200
+++ src/daemon/open_console.c 2015-06-22 16:13:14.921927918 +0200
@@ -25,6 +25,7 @@
/* Linux specific (to be outsourced in gpm2 */
#include <linux/serial.h> /* for serial console check */
+#include <sys/sysmacros.h> /* for major() */
#include <asm/ioctls.h> /* for serial console check */