diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-17 18:39:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-17 18:39:11 +0200 |
commit | 07219bb6c9eb77a0e06449be6b4339c68253284a (patch) | |
tree | 6c613d8d3b11a43a55c5729d0ff5a80c9bb37d98 /package/alsa-lib/patches/patch-include_local_h | |
parent | 29d2f64bccfd2a2944487d4378d2c1d914363b71 (diff) |
fix alsa-lib compile, as usual with ideas and patches from sab0tage
Diffstat (limited to 'package/alsa-lib/patches/patch-include_local_h')
-rw-r--r-- | package/alsa-lib/patches/patch-include_local_h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/alsa-lib/patches/patch-include_local_h b/package/alsa-lib/patches/patch-include_local_h new file mode 100644 index 000000000..5897edf59 --- /dev/null +++ b/package/alsa-lib/patches/patch-include_local_h @@ -0,0 +1,22 @@ +* added idea/patch from https://github.com/rofl0r/sabotage + +--- alsa-lib-1.0.27.2.orig/include/local.h 2013-07-08 14:31:36.000000000 +0200 ++++ alsa-lib-1.0.27.2/include/local.h 2013-09-17 09:53:17.000000000 +0200 +@@ -30,7 +30,7 @@ + #include <assert.h> + #include <endian.h> + #include <stdarg.h> +-#include <sys/poll.h> ++#include <poll.h> + #include <errno.h> + #include <linux/ioctl.h> + +@@ -116,7 +116,7 @@ + /* kill and replace kernel-specific types */ + #define __user + #define __force +-#define __kernel_off_t off_t ++//#define __kernel_off_t off_t + + #include <sound/asound.h> + |