[cairo-bugs] [Bug 5136] fbpict.c doesn't compile with gcc-4.* (symbol `_cairo_pixman_composite' is already defined)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 23 07:29:14 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5136          
     




------- Additional Comments From cworth at cworth.org  2005-11-24 02:25 -------
Yes, this is a known bug in 0.1.2, which should be fixed in CVS already.

The fix is also quite easy to apply yourself if desired:

Index: pixman/src/pixman-remap.h
===================================================================
RCS file: /mirrors/freedesktop/cairo/cairo/pixman/src/pixman-remap.h,v
retrieving revision 1.5
retrieving revision 1.7
diff -u -p -r1.5 -r1.7
--- pixman/src/pixman-remap.h   22 Aug 2005 04:02:33 -0000      1.5
+++ pixman/src/pixman-remap.h   21 Nov 2005 19:46:40 -0000      1.7
@@ -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
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list