From 80aee7679b129fcdc6f6c409f56182813b71f980 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 27 Oct 2004 03:40:36 +0000 Subject: [PATCH] Clifford Wolf: Fixed mythtv for linux-2.6.9 (this fix hurts, but it solves the problem) [2004102517260118692] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4629 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/fake/mythtv/linuxtypes-hotfix.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/fake/mythtv/linuxtypes-hotfix.patch 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