Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




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

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.