void-packages/srcpkgs/cmus/patches/sndio.diff
2018-06-20 16:29:09 -03:00

27 lines
569 B
Diff

--- configure.orig 2018-05-02 14:46:09.900968269 +0200
+++ configure 2018-05-02 14:46:30.935113630 +0200
@@ -20,12 +20,8 @@
check_sndio()
{
- case `uname -s` in
- OpenBSD)
- check_library SNDIO "" "-lsndio"
- return $?
- esac
- return 1
+ check_library SNDIO "" "-lsndio"
+ return $?
}
check_compat()
--- sndio.c.orig 2018-05-02 14:52:24.031553732 +0200
+++ sndio.c 2018-05-02 14:52:32.410611635 +0200
@@ -20,7 +20,6 @@
#include <sys/types.h>
#include <sys/ioctl.h>
-#include <sys/audioio.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>