This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
alsa-oss/alsa-oss-glibc-open.patch
Patrick Laughton 583b6da3cb - License clarification
- Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch
2007-08-16 21:28:19 +00:00

12 lines
347 B
Diff

--- alsa-oss-1.0.14/alsa/alsa-oss.c.orig 2007-05-31 03:11:51.000000000 -0500
+++ alsa-oss-1.0.14/alsa/alsa-oss.c 2007-08-16 16:21:27.000000000 -0500
@@ -284,6 +284,9 @@ static int mixer_open_helper(const char
return fd;
}
+#undef open
+#undef open64
+
#define DECL_OPEN(name, callback) \
int name(const char *file, int oflag, ...) \
{ \