rsvg_get_file_path is an externally visible function.

Fixes NetBSD-5.1/amd64 build.

Patch from Rhialto on pkgsrc-users.
This commit is contained in:
wiz 2012-07-08 21:20:08 +00:00
parent 97645817b0
commit 5bb5798a92
2 changed files with 17 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.19 2012/04/30 14:17:12 drochner Exp $
$NetBSD: distinfo,v 1.20 2012/07/08 21:20:08 wiz Exp $
SHA1 (librsvg-2.36.1.tar.xz) = 1084015373e90ff8fccbae4b27ee778bbdf14d40
RMD160 (librsvg-2.36.1.tar.xz) = 373e2f2a72a79097c47ce0e75701e784673c2ee7
Size (librsvg-2.36.1.tar.xz) = 506184 bytes
SHA1 (patch-ab) = 44985e1c02f925769f394007f924b8d6ec8151d5
SHA1 (patch-rsvg-image.h) = 086199a5cdaabb22df1afa1565fc4be133f62125

View file

@ -0,0 +1,15 @@
$NetBSD: patch-rsvg-image.h,v 1.1 2012/07/08 21:20:08 wiz Exp $
rsvg_get_file_path is an externally visible function.
Fixes NetBSD-5.1/amd64 build.
--- rsvg-image.h.orig 2012-02-06 19:44:12.000000000 +0000
+++ rsvg-image.h
@@ -51,7 +51,6 @@ struct _RsvgNodeImage {
G_GNUC_INTERNAL
void rsvg_preserve_aspect_ratio (unsigned int aspect_ratio, double width,
double height, double *w, double *h, double *x, double *y);
-G_GNUC_INTERNAL
gchar *rsvg_get_file_path (const gchar * filename, const gchar * basedir);
G_GNUC_INTERNAL
cairo_surface_t *rsvg_cairo_surface_new_from_href (RsvgHandle *handle, const char *href, GError ** error);