Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2008 20:13:06 +0200
From:      =?unknown-8bit?Q?Rafa=EBl_Carr=E9?= <funman@videolan.org>
To:        Naram Qashat <cyberbotx@cyberbotx.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: vlc 0.8.6h failed build on FreeBSD 7.0
Message-ID:  <20080616181306.GB24913@zod>
In-Reply-To: <4856A283.9050604@cyberbotx.com>
References:  <4856A283.9050604@cyberbotx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 16, 2008, Naram Qashat wrote:
> I was trying to build vlc 0.8.6h on my FreeBSD 7.0 system, trying to upgrade 
> from 0.8.6f.  It gets through most of it but stops around here:

somehow I failed to reproduce that bug on my setup

by pure curiosity do you have restrictive CFLAGS in make.conf ?



> Making all in galaktos
> gmake[5]: Entering directory 
> `/usr/ports/multimedia/vlc/work/vlc-0.8.6h/modules/visualization/galaktos'

..

> PCM.c:82: error: expected ')' before 'PCMdata'

this file fails to #include <inttypes.h>

I removed the previous patch which used short instead of int16_t because I failed to understand what was its purpose.



I will open a PR with a patch shortly.

In the meantime you can:

cd /usr/ports/multimedia/vlc
make patch
vi work/vlc-0.8.6h/modules/visualization/galaktos/PCM.c
:32
i#include <inttypes.h>
<ESC>:wq
make all deinstall reinstall clean


Thanks for the report

-- 
Rafaël Carré



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080616181306.GB24913>