aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kodi-platform/check-for-glibc.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-28 00:33:26 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-28 00:33:26 +0200
commit1c83ab9b0036c22b9a821e3045cf589b8adc1bba (patch)
tree20c35ada754e9701101e13c7e1025415e7994d1a /testing/kodi-platform/check-for-glibc.patch
parent7df7ee98f0ecd18958c0bac942416d26119a7e7a (diff)
downloadaports-1c83ab9b0036c22b9a821e3045cf589b8adc1bba.tar.bz2
aports-1c83ab9b0036c22b9a821e3045cf589b8adc1bba.tar.xz
testing/kodi-platform: new aport
Diffstat (limited to 'testing/kodi-platform/check-for-glibc.patch')
-rw-r--r--testing/kodi-platform/check-for-glibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/kodi-platform/check-for-glibc.patch b/testing/kodi-platform/check-for-glibc.patch
new file mode 100644
index 0000000000..76c03840c2
--- /dev/null
+++ b/testing/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