summaryrefslogtreecommitdiffstats
path: root/audio/oss/glibc-2.23.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-06-20 11:01:26 +0200
committer Matteo Bernardini2020-06-20 11:01:26 +0200
commit4763c5f8092b9a9edb2471bd83ae5d6935056245 (patch)
tree704bea10c1fd69bf1b603c44f81d0d1b4df89019 /audio/oss/glibc-2.23.patch
parent98dec0c0253801e4775e1c705f391e477db1a7e5 (diff)
downloadslackbuilds-9b50c8ec22bfb1661e2101ac76eb23e0769f9921.tar.gz
20200620.1 global branch merge.current-20200620.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/oss/glibc-2.23.patch')
-rw-r--r--audio/oss/glibc-2.23.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/oss/glibc-2.23.patch b/audio/oss/glibc-2.23.patch
new file mode 100644
index 0000000000..c9dc65b111
--- /dev/null
+++ b/audio/oss/glibc-2.23.patch
@@ -0,0 +1,19 @@
+commit ad097a606d8b6ba46e0bcd12b284ca355592ac44
+Author: hash <hashn0n@users.noreply.github.com>
+Date: Sun Sep 24 19:53:49 2017 +0300
+
+ Fix os_cmd/Linux/ossdetect/ossdetect.c compile problem with
+ >=sys-libs/glibc-2.23, need to include sys/sysmacros.h
+
+diff --git a/os_cmd/Linux/ossdetect/ossdetect.c b/os_cmd/Linux/ossdetect/ossdetect.c
+index 86b86ba..1dce64a 100644
+--- a/os_cmd/Linux/ossdetect/ossdetect.c
++++ b/os_cmd/Linux/ossdetect/ossdetect.c
+@@ -12,6 +12,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/dir.h>
+
+ #define PCI_PASS 0