summaryrefslogtreecommitdiff
path: root/packages/alsa/files/libio.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-07-21 20:37:16 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-07-21 20:37:16 +0000
commitc333977e1cd10d8c40b200b3bbf63c329d629e1e (patch)
tree9b2f07026733d8f74b387b9d80b09ab8441949b8 /packages/alsa/files/libio.patch
parent714adbc0d90aaa38bceda464d269eb8f03aba475 (diff)
alsa-oss: fix libio.patch
*stupid else vs. #else from some how dont break uclibc build so I catched not _fildes vs __filedes, fixed now to, thanks to shoragan to spot this * add LEAD_SONAME as suggested by bitbake * bump PR this time the rightway
Diffstat (limited to 'packages/alsa/files/libio.patch')
-rw-r--r--packages/alsa/files/libio.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/alsa/files/libio.patch b/packages/alsa/files/libio.patch
index 83345a98d3..a053e4c604 100644
--- a/packages/alsa/files/libio.patch
+++ b/packages/alsa/files/libio.patch
@@ -1,7 +1,7 @@
Index: alsa-oss-1.0.15/alsa/stdioemu.c
===================================================================
--- alsa-oss-1.0.15.orig/alsa/stdioemu.c 2007-10-15 10:50:40.000000000 +0200
-+++ alsa-oss-1.0.15/alsa/stdioemu.c 2008-07-20 22:29:46.767474560 +0200
++++ alsa-oss-1.0.15/alsa/stdioemu.c 2008-07-21 22:17:06.303161438 +0200
@@ -37,7 +37,9 @@
#endif
@@ -18,8 +18,8 @@ Index: alsa-oss-1.0.15/alsa/stdioemu.c
result = fopencookie (fdc,"w", fns);
+#ifdef HAVE_FILENO
result->_fileno = fdc->fd; /* ugly patchy slimy kludgy hack */
-+else
-+ result->_filedes = fdc->fd;
++#else
++ result->__filedes = fdc->fd;
+#endif
}
return result;
@@ -27,7 +27,7 @@ Index: alsa-oss-1.0.15/alsa/stdioemu.c
Index: alsa-oss-1.0.15/configure.in
===================================================================
--- alsa-oss-1.0.15.orig/configure.in 2007-10-15 10:50:40.000000000 +0200
-+++ alsa-oss-1.0.15/configure.in 2008-07-20 22:49:45.455837502 +0200
++++ alsa-oss-1.0.15/configure.in 2008-07-21 22:16:11.719837298 +0200
@@ -33,6 +33,12 @@
LIBS="$OLD_LIBS"
fi