[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build error in graphics/librsvg
On Sun, Jul 08, 2012 at 10:29:17PM +0200, Rhialto wrote:
> Soo... some grepping later I found this:
> --- rsvg-image.h.orig 2012-07-08 22:08:18.000000000 +0200
> +++ rsvg-image.h 2012-07-08 22:05:46.000000000 +0200
> @@ -51,7 +51,7 @@
> 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);
> cairo_surface_t *rsvg_cairo_surface_new_from_href (RsvgHandle *handle, const
> char *href, GError ** error);
> which looks exactly like the sort of lying to the compiler which will
> make it get its revenge! (And I must say that the code evokes a rather
> worrying amount of warnings from the compiler...)
> Indeed, removing G_GNUC_INTERNAL from that declaration makes the library
> link. I am now proceeding to the things that were requiring the library.
> For the moment I'd say that the above patch or an equivalent should be
> added to librsvg.
Can you please file an upstream bug report?
I've added the patch to pkgsrc.
Main Index |
Thread Index |