[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cairo fail gcc4 build



Problem build cairo 1.0.2 on Fedora rawhide.

fbpict.c: At top level:
fbpict.c:79: warning: 'fbIn24' defined but not used
{standard input}: Assembler messages:
{standard input}:8656: Error: symbol `_cairo_pixman_composite' is already defined
make[3]: *** [fbpict.lo] Error 1
make[3]: Leaving directory `/usr/src/atomix/BUILD/cairo-1.0.2/pixman/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/atomix/BUILD/cairo-1.0.2/pixman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/atomix/BUILD/cairo-1.0.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.54023 (%build)

Attached is a patch that fixes.

Best regards,
Tomo
--- cairo-1.0.2/pixman/src/pixman-remap.h	2005-08-22 06:02:33.000000000 +0200
+++ cairo-1.0.2-atomix/pixman/src/pixman-remap.h	2006-01-08 13:01:15.000000000 +0100
@@ -1,9 +1,7 @@
 #define pixman_add_trapezoids _cairo_pixman_add_trapezoids
-#define INT_pixman_color_to_pixel _cairo_pixman_color_to_pixel
 #define pixman_color_to_pixel _cairo_pixman_color_to_pixel
 #define composeFunctions _cairo_pixman_compose_functions
 #define fbComposeSetupMMX _cairo_pixman_compose_setup_mmx
-#define INT_pixman_composite _cairo_pixman_composite
 #define pixman_composite _cairo_pixman_composite
 #define fbCompositeCopyAreammx _cairo_pixman_composite_copy_area_mmx
 #define fbCompositeSolidMask_nx8888x0565Cmmx _cairo_pixman_composite_solid_mask_nx8888x0565Cmmx
begin:vcard
fn;quoted-printable:Tomo Vu=C4=8Dkovi=C4=87
n;quoted-printable:Vu=C4=8Dkovi=C4=87;Tomo
email;internet:tomo vuckovic gmail com
note:ICQ : 332563031
url:http://www.ada.edu.yu/
version:2.1
end:vcard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]