Gentoo Archives: gentoo-vdr

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-vdr@l.g.o
Subject: Re: [gentoo-vdr] livebuffer patch on a x86_64 system
Date: Mon, 12 Nov 2007 18:32:24
Message-Id: 200711121932.20584.zzam@gentoo.org
In Reply to: [gentoo-vdr] livebuffer patch on a x86_64 system by tomek@terragate.net
On Montag, 12. November 2007, tomek@×××××××××.net wrote:
Hi Tomekkki!

This seems to be the relevant error:
> livebuffer.c:234: Fehler: keine passende Funktion für Aufruf von   > »min(long unsigned int, long int)«
If I am right this is the line: off64_t headdrop = min(curpos - totwritten, (off64_t) totwritten * 2L); Does it work if you change it to off64_t headdrop = min((off64_t)(curpos - totwritten), (off64_t) totwritten * 2L); You can easily check it like this: 1. run emerge vdr until it dies 2. cd /var/tmp/portage/media-video/vdr-1.*/work/vdr-1.*/ 3. edit the file livebuffer.c 4. run make if it works we can include this fix. (should we add a page somewhere (wiki?) about this quick experimantal way to try out changes?) Matthias -- Matthias Schwarzott (zzam) -- gentoo-vdr@g.o mailing list

Replies

Subject Author
Re: [gentoo-vdr] livebuffer patch on a x86_64 system tomek@×××××××××.net