tags 550775 - patch + pending
thanks

Hi!

On Tue, 2009-10-13 at 00:26:37 +0400, Ilya Barygin wrote:
> Package: svgalib
> Version: 1:1.4.3-27
> Severity: normal
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu karmic ubuntu-patch

> In Ubuntu, we've applied the attached patch to achieve the following:
> 
>   * 041_rename_round.patch: rename round() in utils/gtf/gtfcalc.c to fix 
>     FTBFS due to conflict with the one defined in math.h (LP: #449747).
> 
> We thought you might be interested in doing the same. 
> 
> The build fails with the following error:
> 
> cc -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fPIC 
> -I/build/buildd/svgalib-1.4.3/include -I. -Wall -Wstrict-prototypes -fPIC 
> -I/build/buildd/svgalib-1.4.3/include -I. -g -O2   -I../include 
> -I/build/buildd/svgalib-1.4.3/src -L/build/buildd/svgalib-1.4.3/sharedlib -o 
> gtfcalc -DTESTING_GTF gtf/gtfcalc.c -lvga -lm
> gtf/gtfcalc.c:67: error: static declaration of 'round' follows non-static 
> declaration
> make[2]: *** [gtfcalc] Error 1

Thanks for the report. Althought I've fixed it by using the system round
function when available instead. Fix will be included in next release.

regards,
guillem



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to