From a74b8da459dcdee1d1fc633d9d1856fdb89fd7bd Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 20 Nov 2013 12:25:49 +0100
Subject: fix musl compile, when xorg package collection is selected. X still
 does not work with musl

---
 toolchain/musl/patches/i386-syscall.patch | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 toolchain/musl/patches/i386-syscall.patch

(limited to 'toolchain/musl')

diff --git a/toolchain/musl/patches/i386-syscall.patch b/toolchain/musl/patches/i386-syscall.patch
new file mode 100644
index 000000000..d70701983
--- /dev/null
+++ b/toolchain/musl/patches/i386-syscall.patch
@@ -0,0 +1,27 @@
+diff -Nur musl-0.9.14.orig/arch/i386/bits/syscall.h musl-0.9.14/arch/i386/bits/syscall.h
+--- musl-0.9.14.orig/arch/i386/bits/syscall.h	2013-09-23 23:01:11.000000000 +0200
++++ musl-0.9.14/arch/i386/bits/syscall.h	2013-10-22 10:36:44.000000000 +0200
+@@ -333,6 +333,11 @@
+ #define __NR_inotify_init1	332
+ #define __NR_preadv		333
+ #define __NR_pwritev		334
++#define __NR_rt_tgsigqueueinfo	335
++#define __NR_perf_event_open	336
++#define __NR_recvmmsg		337
++#define __NR_fanotify_init	338
++#define __NR_fanotify_mark	339
+ #define __NR_prlimit64		340
+ #define __NR_name_to_handle_at	341
+ #define __NR_open_by_handle_at	342
+@@ -683,6 +688,11 @@
+ #define SYS_inotify_init1	332
+ #define SYS_preadv		333
+ #define SYS_pwritev		334
++#define SYS_rt_tgsigqueueinfo	335
++#define SYS_perf_event_open	336
++#define SYS_recvmmsg		337
++#define SYS_fanotify_init	338
++#define SYS_fanotify_mark	339
+ #define SYS_prlimit64		340
+ #define SYS_name_to_handle_at	341
+ #define SYS_open_by_handle_at	342
-- 
cgit v1.2.3