Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51423 - dvdauthor-0.6.9 and 0.6.10 fail to compile with GCC 3.4
Summary: dvdauthor-0.6.9 and 0.6.10 fail to compile with GCC 3.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-18 13:26 UTC by Mark Loeser (RETIRED)
Modified: 2004-06-21 16:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
1 liner patch to fix compile error (gcc34.patch,557 bytes, patch)
2004-05-18 13:28 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Loeser (RETIRED) gentoo-dev 2004-05-18 13:26:40 UTC
Overview: Both of these versions, 0.6.9 and 0.6.10, of dvdauthor fail to compile because of a label at the end of a compound statement.  This was deprecated in gcc 3.3.x it looks like, and refuses to compile in 3.4.

Steps to reproduce: emerge dvdauthor  (while using GCC 3.4 as your compiler, it compiles in 3.3.x, but with a warning saying that its deprecated)

Actual Results:  The compile fails with:
gcc -Wall -mtune=athlon-xp -march=athlon-xp -O3 -fomit-frame-pointer -pipe -ftracer -I/usr/include/libxml2 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include -MD -DSYSCONFDIR="\"/etc\""  -c -o src/dvdvob.o src/dvdvob.c
src/dvdvob.c: In function `FindVobus':
src/dvdvob.c:1152: error: label at end of compound statement

Expected results:  Should compile cleanly.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2004-05-18 13:28:11 UTC
Created attachment 31677 [details, diff]
1 liner patch to fix compile error

This patch applies cleanly to both versions and they compiled without problems
on my system.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2004-06-21 16:52:52 UTC
A similar patch is already applied to the package in portage.