alsa-oss: Upgrade to 1.1.8

OE-core has upgraded alsa-lib to 1.1.8 as well so we need to be in sysnc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2019-04-06 16:58:11 -07:00
parent 82b8ae6bd2
commit 99a49e059f
2 changed files with 23 additions and 13 deletions

View File

@ -1,18 +1,28 @@
Index: alsa-oss-1.0.28/alsa/stdioemu.c From 54b1c2e27bf81f94c727b4923d4ed592110e2796 Mon Sep 17 00:00:00 2001
=================================================================== From: Martin Jansa <Martin.Jansa@gmail.com>
--- alsa-oss-1.0.28.orig/alsa/stdioemu.c Date: Sun, 29 May 2011 21:05:15 +0200
+++ alsa-oss-1.0.28/alsa/stdioemu.c
---
alsa/stdioemu.c | 8 +++++++-
configure.ac | 6 ++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/alsa/stdioemu.c b/alsa/stdioemu.c
index f7f9ab5..b673fe3 100644
--- a/alsa/stdioemu.c
+++ b/alsa/stdioemu.c
@@ -37,7 +37,9 @@ @@ -37,7 +37,9 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
-
+#ifdef HAVE_LIBIO_H +#ifdef HAVE_LIBIO_H
#include <libio.h> +#include <libio.h>
+#endif +#endif
struct fd_cookie { struct fd_cookie {
int fd; int fd;
@@ -99,7 +101,11 @@ static FILE *fake_fopen(const char *path };
@@ -98,7 +100,11 @@ static FILE *fake_fopen(const char *path, const char *mode, int flags)
if (open_mode && fdc->fd > 0) { if (open_mode && fdc->fd > 0) {
result = fopencookie (fdc,"w", fns); result = fopencookie (fdc,"w", fns);
@ -24,10 +34,10 @@ Index: alsa-oss-1.0.28/alsa/stdioemu.c
} }
return result; return result;
} }
Index: alsa-oss-1.0.28/configure.ac diff --git a/configure.ac b/configure.ac
=================================================================== index 583b95f..60a1025 100644
--- alsa-oss-1.0.28.orig/configure.ac --- a/configure.ac
+++ alsa-oss-1.0.28/configure.ac +++ b/configure.ac
@@ -35,6 +35,12 @@ if test "$with_aoss" = "yes"; then @@ -35,6 +35,12 @@ if test "$with_aoss" = "yes"; then
LIBS="$OLD_LIBS" LIBS="$OLD_LIBS"
fi fi

View File

@ -30,8 +30,8 @@ DEPENDS = "alsa-lib"
SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \ SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \
file://libio.patch \ file://libio.patch \
" "
SRC_URI[md5sum] = "fc845cafc4444193510ab1865c7350b8" SRC_URI[md5sum] = "9ec4bb783fdce19032aace086d65d874"
SRC_URI[sha256sum] = "c3d3f743e61f05ff95c5cba3b06bc9c91ff86c37495f1d19dab844e6b90845ea" SRC_URI[sha256sum] = "64adcef5927e848d2e024e64c4bf85b6f395964d9974ec61905ae4cb8d35d68e"
inherit autotools inherit autotools