diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-01-13 19:45:01 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-01-13 19:45:01 +0000 |
commit | dbf4cb339e60684036842e52fc715762e89602d5 (patch) | |
tree | 4d0b2549fab94256d4d5262029582ec5d86295a3 /main/libcec/musl-fix.patch | |
parent | a59ee23fc6759eed6d4aed348fb010e0f9ddc31a (diff) | |
download | aports-dbf4cb339e60684036842e52fc715762e89602d5.tar.bz2 aports-dbf4cb339e60684036842e52fc715762e89602d5.tar.xz |
main/libcec: fix musl build
Diffstat (limited to 'main/libcec/musl-fix.patch')
-rw-r--r-- | main/libcec/musl-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/libcec/musl-fix.patch b/main/libcec/musl-fix.patch new file mode 100644 index 0000000000..c77e0e5d94 --- /dev/null +++ b/main/libcec/musl-fix.patch @@ -0,0 +1,22 @@ +--- libcec-libcec-2.1.3.orig/src/lib/platform/posix/serialport.cpp ++++ libcec-libcec-2.1.3/src/lib/platform/posix/serialport.cpp +@@ -37,7 +37,6 @@ + #include "lib/platform/util/baudrate.h" + #include "lib/platform/posix/os-socket.h" + +-#if defined(__APPLE__) || defined(__FreeBSD__) + #ifndef XCASE + #define XCASE 0 + #endif +@@ -47,10 +46,9 @@ + #ifndef IUCLC + #define IUCLC 0 + #endif +-#else ++ + #ifdef HAVE_LOCKDEV + #include <lockdev.h> +-#endif + #endif + + using namespace std; |