summaryrefslogtreecommitdiffstats
path: root/src/librsvg-1-fixes.patch
blob: 27eb05d816e94676715ae80eb38f3e2be64920d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
This file is part of mingw-cross-env.
See doc/index.html for further information.

Contains ad hoc patches for cross building.

From 1ff5a73bee660f1d61f9cdd7c8d7aff29e959c4c Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Mon, 27 Sep 2010 12:00:52 +0200
Subject: [PATCH 1/2] fix .pc requirements


diff --git a/librsvg.pc.in b/librsvg.pc.in
index 372f199..b6ee7a9 100644
--- a/librsvg.pc.in
+++ b/librsvg.pc.in
@@ -9,7 +9,7 @@ css_supported=@CSS_SUPPORTED@
 Name: librsvg
 Description: library that renders svg files
 Version: @VERSION@
-Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo
+Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo libgsf-1 pangocairo libcroco-0.6
 Requires.private:
 Libs: -L${libdir} -lrsvg-@RSVG_API_MAJOR_VERSION@ -lm
 Cflags: -I${includedir}/librsvg-@RSVG_API_VERSION@
-- 
1.7.1


From 9a7e7ebee9aab83659b9aced51fb53de5427138d Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Mon, 27 Sep 2010 12:02:45 +0200
Subject: [PATCH 2/2] fix stray comma

Taken from https://bugzilla.gnome.org/show_bug.cgi?id=630714

diff --git a/rsvg.h b/rsvg.h
index 37e7930..41c4127 100644
--- a/rsvg.h
+++ b/rsvg.h
@@ -139,7 +139,7 @@ gboolean rsvg_handle_has_sub (RsvgHandle * handle, const char *id);
 /* GIO APIs */
 
 typedef enum {
-    RSVG_HANDLE_FLAGS_NONE        = 0,
+    RSVG_HANDLE_FLAGS_NONE        = 0
 } RsvgHandleFlags;
 
 void        rsvg_handle_set_base_gfile (RsvgHandle *handle,
-- 
1.7.1