Browse Source

alsa-lib: fix includes of sys/poll.h (remove redirecting... warnings)

Signed-off-by: Ted Hess <thess@kitschensync.net>
Ted Hess 9 years ago
parent
commit
9a5b82ba2e
1 changed files with 142 additions and 0 deletions
  1. 142
    0
      libs/alsa-lib/patches/005-fix_include_file_redirect_warnings.patch

+ 142
- 0
libs/alsa-lib/patches/005-fix_include_file_redirect_warnings.patch View File

@@ -0,0 +1,142 @@
1
+--- a/src/seq/seq.c
2
++++ b/src/seq/seq.c
3
+@@ -777,7 +777,7 @@ void event_filter(snd_seq_t *seq, snd_se
4
+ 
5
+ */
6
+ 
7
+-#include <sys/poll.h>
8
++#include <poll.h>
9
+ #include "seq_local.h"
10
+ 
11
+ /****************************************************************************
12
+--- a/aserver/aserver.c
13
++++ b/aserver/aserver.c
14
+@@ -20,7 +20,7 @@
15
+ 
16
+ #include <sys/shm.h>
17
+ #include <sys/socket.h>
18
+-#include <sys/poll.h>
19
++#include <poll.h>
20
+ #include <sys/un.h>
21
+ #include <sys/uio.h>
22
+ #include <stdio.h>
23
+--- a/include/asoundlib-head.h
24
++++ b/include/asoundlib-head.h
25
+@@ -35,6 +35,6 @@
26
+ #include <string.h>
27
+ #include <fcntl.h>
28
+ #include <assert.h>
29
+-#include <sys/poll.h>
30
++#include <poll.h>
31
+ #include <errno.h>
32
+ #include <stdarg.h>
33
+--- a/include/asoundlib.h
34
++++ b/include/asoundlib.h
35
+@@ -35,7 +35,7 @@
36
+ #include <string.h>
37
+ #include <fcntl.h>
38
+ #include <assert.h>
39
+-#include <sys/poll.h>
40
++#include <poll.h>
41
+ #include <errno.h>
42
+ #include <stdarg.h>
43
+ #include <endian.h>
44
+--- a/include/local.h
45
++++ b/include/local.h
46
+@@ -47,7 +47,7 @@
47
+ #error Header defining endianness not defined
48
+ #endif
49
+ #include <stdarg.h>
50
+-#include <sys/poll.h>
51
++#include <poll.h>
52
+ #include <sys/types.h>
53
+ #include <errno.h>
54
+ #include <linux/types.h>
55
+--- a/src/control/control.c
56
++++ b/src/control/control.c
57
+@@ -48,7 +48,7 @@ and IEC958 structure.
58
+ #include <string.h>
59
+ #include <fcntl.h>
60
+ #include <signal.h>
61
+-#include <sys/poll.h>
62
++#include <poll.h>
63
+ #include "control_local.h"
64
+ 
65
+ /**
66
+--- a/src/control/control_shm.c
67
++++ b/src/control/control_shm.c
68
+@@ -27,7 +27,7 @@
69
+ #include <fcntl.h>
70
+ #include <sys/shm.h>
71
+ #include <sys/socket.h>
72
+-#include <sys/poll.h>
73
++#include <poll.h>
74
+ #include <sys/un.h>
75
+ #include <sys/uio.h>
76
+ #include <sys/mman.h>
77
+--- a/src/pcm/pcm.c
78
++++ b/src/pcm/pcm.c
79
+@@ -634,7 +634,7 @@ playback devices.
80
+ #include <stdarg.h>
81
+ #include <signal.h>
82
+ #include <ctype.h>
83
+-#include <sys/poll.h>
84
++#include <poll.h>
85
+ #include <sys/shm.h>
86
+ #include <sys/mman.h>
87
+ #include <limits.h>
88
+--- a/src/pcm/pcm_direct.c
89
++++ b/src/pcm/pcm_direct.c
90
+@@ -30,7 +30,7 @@
91
+ #include <grp.h>
92
+ #include <sys/ioctl.h>
93
+ #include <sys/mman.h>
94
+-#include <sys/poll.h>
95
++#include <poll.h>
96
+ #include <sys/shm.h>
97
+ #include <sys/sem.h>
98
+ #include <sys/wait.h>
99
+--- a/src/pcm/pcm_mmap.c
100
++++ b/src/pcm/pcm_mmap.c
101
+@@ -21,7 +21,7 @@
102
+ #include <stdio.h>
103
+ #include <malloc.h>
104
+ #include <string.h>
105
+-#include <sys/poll.h>
106
++#include <poll.h>
107
+ #include <sys/mman.h>
108
+ #include <sys/shm.h>
109
+ #include "pcm_local.h"
110
+--- a/src/pcm/pcm_share.c
111
++++ b/src/pcm/pcm_share.c
112
+@@ -34,7 +34,7 @@
113
+ #include <signal.h>
114
+ #include <math.h>
115
+ #include <sys/socket.h>
116
+-#include <sys/poll.h>
117
++#include <poll.h>
118
+ #include <sys/shm.h>
119
+ #include <pthread.h>
120
+ #include "pcm_local.h"
121
+--- a/src/pcm/pcm_shm.c
122
++++ b/src/pcm/pcm_shm.c
123
+@@ -36,7 +36,7 @@
124
+ #include <sys/ioctl.h>
125
+ #include <sys/shm.h>
126
+ #include <sys/socket.h>
127
+-#include <sys/poll.h>
128
++#include <poll.h>
129
+ #include <sys/un.h>
130
+ #include <sys/mman.h>
131
+ #include <netinet/in.h>
132
+--- a/src/shmarea.c
133
++++ b/src/shmarea.c
134
+@@ -22,7 +22,7 @@
135
+ #include <malloc.h>
136
+ #include <string.h>
137
+ #include <errno.h>
138
+-#include <sys/poll.h>
139
++#include <poll.h>
140
+ #include <sys/mman.h>
141
+ #include <sys/shm.h>
142
+ #include "list.h"