diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-03 07:31:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-03 08:53:46 +0000 |
commit | a8a266f81be2a75ff331764fd67ba7c852436a37 (patch) | |
tree | 94ed67186fbf6d204ef72c70c455474ae2bb8398 /community/libcec/musl-fix.patch | |
parent | 1a2d26fef3d4997c23b0ddf35fbbd8e701112068 (diff) | |
download | aports-a8a266f81be2a75ff331764fd67ba7c852436a37.tar.bz2 aports-a8a266f81be2a75ff331764fd67ba7c852436a37.tar.xz |
community/{lockdev,libcec}: move from main
Diffstat (limited to 'community/libcec/musl-fix.patch')
-rw-r--r-- | community/libcec/musl-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/libcec/musl-fix.patch b/community/libcec/musl-fix.patch new file mode 100644 index 0000000000..c77e0e5d94 --- /dev/null +++ b/community/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; |