File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed
projects/alsa-project.org/alsa-lib Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ platforms:
1414
1515build :
1616 script :
17+ # add def for older kernels
18+ - run : sed -i '1i int close_range(unsigned int first, unsigned int last, int flags);' ucm_exec.c
19+ working-directory : src/ucm
20+ if : ' >=1.2.15'
1721 - ./configure $ARGS
1822 - make --jobs {{ hw.concurrency }} install
1923 env :
@@ -31,6 +35,14 @@ provides:
3135 - bin/aserver
3236
3337test :
34- script :
35- - cc test.c -lasound -o test
36- - ./test
38+ - run : cc $FIXTURE -lasound -o test
39+ fixture :
40+ extname : c
41+ content : |
42+ #include <alsa/asoundlib.h>
43+ int main(void) {
44+ snd_ctl_card_info_t *info;
45+ snd_ctl_card_info_alloca(&info);
46+ return 0;
47+ }
48+ - ./test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments