aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpm/gpm-include-sysmacros.patch
diff options
context:
space:
mode:
authorGustavo Walbon <gustavowalbon@gmail.com>2019-12-26 13:25:50 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-12-26 15:02:17 +0100
commit3eecbd309c911d0a7b9f4a4f28e6519055f38e6c (patch)
tree37b004bfd87742eac47696ffa3771f717703bc9a /testing/gpm/gpm-include-sysmacros.patch
parent731de66686d43f91b9dcf733ba91acc55958879d (diff)
downloadaports-3eecbd309c911d0a7b9f4a4f28e6519055f38e6c.tar.bz2
aports-3eecbd309c911d0a7b9f4a4f28e6519055f38e6c.tar.xz
testing/gpm: Fix the miss of the include of sysmacros
After the update on the musl that removed the headers from types.h then build fails, so the sysmacros.h provides those ones. Signed-off-by: Gustavo Walbon <gustavowalbon@gmail.com>
Diffstat (limited to 'testing/gpm/gpm-include-sysmacros.patch')
-rw-r--r--testing/gpm/gpm-include-sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/gpm/gpm-include-sysmacros.patch b/testing/gpm/gpm-include-sysmacros.patch
new file mode 100644
index 0000000000..0a18976e94
--- /dev/null
+++ b/testing/gpm/gpm-include-sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/src/daemon/open_console.c
++++ b/src/daemon/open_console.c
+@@ -22,6 +22,7 @@
+ #include <fcntl.h> /* open and co. */
+ #include <sys/stat.h> /* stat() */
+ #include <sys/types.h> /* major() */
++#include <sys/sysmacros.h>
+ #include <sys/ioctl.h> /* ioctl */
+
+ /* Linux specific (to be outsourced in gpm2 */