| Summary: | media-tv/linuxtv-dvb-apps-1.1.1.20070114 fails to emerge | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Hsia <xanderhsia> |
| Component: | Current packages | Assignee: | Gentoo VDR Project <vdr> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Martin.Jansa |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
error log produced by emerge
emerge info |
||
|
Description
Alexander Hsia
2007-07-14 21:02:23 UTC
Created attachment 124880 [details]
error log produced by emerge
Created attachment 124901 [details]
emerge info
For newer kernel (2.6.22) you have to add #include <linux/types.h> to dvbvideo.c before including of video.h from linux-headers. Info in german http://www.vdr-portal.de/board/print.php?threadid=66358&page=1&sid=82f0d443ecb0218088f21c62be1a9dd9 This patch do this, save it in files dir and add epatch ${FILESDIR}/kernel-2.6.22.patch line in ebuild diff -uNr linuxtv-dvb-apps-20070114.orig/lib/libdvbapi/dvbvideo.c linuxtv-dvb-apps-20070114/lib/libdvbapi/dvbvideo.c --- linuxtv-dvb-apps-20070114.orig/lib/libdvbapi/dvbvideo.c 2007-07-18 08:43:30.968087841 +0200 +++ linuxtv-dvb-apps-20070114/lib/libdvbapi/dvbvideo.c 2007-07-18 08:42:40.272317488 +0200 @@ -25,6 +25,7 @@ #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> +#include <linux/types.h> #include <linux/dvb/video.h> #include <errno.h> #include "dvbvideo.h" Fixed, thanks for reporting and patch. |