aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kodi-platform/check-for-glibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/kodi-platform/check-for-glibc.patch')
-rw-r--r--unmaintained/kodi-platform/check-for-glibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/kodi-platform/check-for-glibc.patch b/unmaintained/kodi-platform/check-for-glibc.patch
new file mode 100644
index 0000000000..76c03840c2
--- /dev/null
+++ b/unmaintained/kodi-platform/check-for-glibc.patch
@@ -0,0 +1,11 @@
+--- a/src/posix/serialport.cpp.orig
++++ b/src/posix/serialport.cpp
+@@ -37,7 +37,7 @@
+ #include "../util/baudrate.h"
+ #include "../posix/os-socket.h"
+
+-#if defined(__APPLE__) || defined(__FreeBSD__)
++#ifndef __GLIBC__
+ #ifndef XCASE
+ #define XCASE 0
+ #endif