[cairo-bugs] [Bug 5544] New: svg2png doesn't build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 7 09:13:18 PST 2006


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=5544          
     
           Summary: svg2png doesn't build
           Product: cairo
           Version: 1.1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P2
         Component: svg backend
        AssignedTo: emmanuel.pacaud at free.fr
        ReportedBy: cinamod at hotmail.com
         QAContact: cairo-bugs at cairographics.org


Like bug 5306, because stdio.h isn't included, it thinks that fprintf is an
extern, thus breaking gcc 3.4.4.

Index: svg2png.c
===================================================================
RCS file: /cvs/cairo/cairo/test/svg2png.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 svg2png.c
--- svg2png.c   19 Dec 2005 21:59:35 -0000      1.1
+++ svg2png.c   7 Jan 2006 17:11:33 -0000
@@ -26,6 +26,7 @@
  */

 #include <stdlib.h>
+#include <stdio.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkpixbuf.h>
 #include <librsvg/rsvg.h>          
     
     
--           
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