FS#35669 - [vlc] 2.0.7-1 fails to build

Attached to Project: Arch Linux
Opened by Garry Roseman (sitquietly) - Thursday, 06 June 2013, 04:52 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 09 June 2013, 13:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Description: vlc and flac were both updated; vlc 2.0.7-1 fails to build against
flac-1.3.0-1. Only one file needs to be changed to find flac headers, now in
include/FLAC/ directory. The new (+) sed lines for the PKGBUILD are:

build() {
cd "${srcdir}/${pkgname}-${pkgver}"

sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
# fix for flac-1.3.0
+ sed -i -e 's:stream_decoder.h:FLAC/stream_decoder.h:' modules/codec/flac.c
+ sed -i -e 's:stream_encoder.h:FLAC/stream_encoder.h:' modules/codec/flac.c

Additional info:
* package version(s)

* config and/or log files etc.

Steps to reproduce:
cp -a abs/extra/vlc .
cd vlc && makepkg
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Sunday, 09 June 2013, 13:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in vlc-2.0.7-2