diff --git a/package/fake/mythtv/linuxtypes-hotfix.patch b/package/fake/mythtv/linuxtypes-hotfix.patch new file mode 100644 index 000000000..d9645f4ed --- /dev/null +++ b/package/fake/mythtv/linuxtypes-hotfix.patch @@ -0,0 +1,19 @@ +--- ./libs/libmyth/mythcdrom-linux.cpp.orig 2004-10-25 16:22:08.000000000 +0200 ++++ ./libs/libmyth/mythcdrom-linux.cpp 2004-10-25 17:32:04.000000000 +0200 +@@ -1,3 +1,16 @@ ++ ++/* */ ++/* simply setting _LOOSE_KERNEL_NAMES is not enough */ ++#include ++ ++extern "C" off_t lseek(int fildes, off_t offset, int whence); ++extern "C" ssize_t read(int fd, void *buf, size_t count); ++ ++#define _UNISTD_H ++#define _SYS_TYPES_H ++#define _SYS_SELECT_H ++/* */ ++ + #include "mythcdrom.h" + #include // ioctls + #include // old ioctls for cdrom