File alsa-drop-libio.patch of Package alsa-oss

From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Wed, 12 Dec 2018 22:11:59 +0000 (+0900)
Subject: fix FTBFS with glibc v3.28
X-Git-Tag: v1.1.8~1
X-Git-Url: https://git.alsa-project.org/?p=alsa-oss.git;a=commitdiff_plain;h=8564df1c8d114de6ddbc082004c2a74719a46717

fix FTBFS with glibc v3.28

In glibc upstream, libio/libio.h had been deprecated for applications and
became internal header in its v2.28 release. We can see below message in
its release note[1].

* The nonstandard header files <libio.h> and <_G_config.h> are no longer
  installed.  Software that was using either header should be updated to
  use standard <stdio.h> interfaces instead.

This brings FTBFS with glibc v2.28 due to missing <libio.h>. This commit
fixes it.

[1] https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

Reported-by: Adrian Bunk <bunk@debian.org>
Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916052
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/alsa/stdioemu.c b/alsa/stdioemu.c
index 670892b..f7f9ab5 100644
--- a/alsa/stdioemu.c
+++ b/alsa/stdioemu.c
@@ -37,7 +37,6 @@
 #endif
 
 #include <stdio.h>
-#include <libio.h>
 
 struct fd_cookie {
 	int fd;
openSUSE Build Service is sponsored by