Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-vdr
Navigation:
Lists: gentoo-vdr: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-vdr@g.o
From: Matthias Schwarzott <zzam@g.o>
Subject: Re: livebuffer patch on a x86_64 system
Date: Mon, 12 Nov 2007 19:32:20 +0100
On Montag, 12. November 2007, tomek@... 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:
Re: livebuffer patch on a x86_64 system
-- tomek
References:
livebuffer patch on a x86_64 system
-- tomek
Navigation:
Lists: gentoo-vdr: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
livebuffer patch on a x86_64 system
Next by thread:
Re: livebuffer patch on a x86_64 system
Previous by date:
livebuffer patch on a x86_64 system
Next by date:
Re: livebuffer patch on a x86_64 system


Updated Jun 17, 2009

Summary: Archive of the gentoo-vdr mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.