Statistics
| Branch: | Tag: | Revision:

root / recipes / cairo / libsvg-0.1.4 / gcc4_and_expat.patch @ c4df7951

History | View | Annotate | Download (600 Bytes)

1
diff -bur libsvg-0.1.4~orig/src/svg_parser_expat.c libsvg-0.1.4/src/svg_parser_expat.c
2
--- libsvg-0.1.4~orig/src/svg_parser_expat.c        2005-02-14 11:26:26.000000000 -0600
3
+++ libsvg-0.1.4/src/svg_parser_expat.c        2006-02-10 21:58:20.000000000 -0600
4
@@ -30,6 +30,7 @@
5
 #include "svgint.h"
6
 #include "svg_hash.h"
7
 
8
+#ifndef LIBSVG_EXPAT
9
 static void
10
 _svg_parser_sax_start_element (void                *closure,
11
                                const XML_Char        *name,
12
@@ -43,6 +44,7 @@
13
 _svg_parser_sax_characters (void                *closure,
14
                             const XML_Char        *ch,
15
                             int                        len);
16
+#endif
17
 
18
 static void
19
 _svg_parser_sax_warning (void                *closure,