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 @@ -13,6 +13,8 @@ platforms:
1313 - linux
1414
1515build :
16+ dependencies :
17+ kernel.org/linux-headers : ' >=5.9' # for close_range(), since 1.2.15
1618 script :
1719 - ./configure $ARGS
1820 - make --jobs {{ hw.concurrency }} install
@@ -26,11 +28,21 @@ build:
2628 CFLAGS :
2729 # undefined symbol errors in newer llvms prevent building shared libs
2830 - -Wl,--undefined-version
31+ # undeclared function 'close_range'
32+ - -isystem {{deps.kernel.org/linux-headers.prefix}}/include
2933
3034provides :
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