OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 21-Feb-2005 16:01:56
Branch: HEAD Handle: 2005022115015200
Added files:
openpkg-src/librsvg librsvg.patch
Modified files:
openpkg-src/librsvg librsvg.spec
Log:
fix building under non-C99 compilers
Summary:
Revision Changes Path
1.1 +16 -0 openpkg-src/librsvg/librsvg.patch
1.9 +3 -1 openpkg-src/librsvg/librsvg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/librsvg/librsvg.patch
============================================================================
$ cvs diff -u -r0 -r1.1 librsvg.patch
--- /dev/null 2005-02-21 16:00:09 +0100
+++ librsvg.patch 2005-02-21 16:01:55 +0100
@@ -0,0 +1,16 @@
+Index: rsvg-paint-server.c
+--- rsvg-paint-server.c.orig 2004-11-17 06:30:14 +0100
++++ rsvg-paint-server.c 2005-02-21 16:00:24 +0100
+@@ -83,11 +83,11 @@
+ rsvg_paint_server_solid_render (RsvgPaintServer *self, ArtRender *ar,
+ const RsvgPSCtx
*ctx)
+ {
++ ArtPixMaxDepth color[3];
+ RsvgPaintServerSolid *z = (RsvgPaintServerSolid *)self;
+ guint32 rgb = z->rgb;
+ if (z->currentcolour)
+ rgb = rsvg_state_current(ctx->ctx)->current_color;
+- ArtPixMaxDepth color[3];
+
+ color[0] = ART_PIX_MAX_FROM_8 (rgb >> 16);
+ color[1] = ART_PIX_MAX_FROM_8 ((rgb >> 8) & 0xff);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/librsvg/librsvg.spec
============================================================================
$ cvs diff -u -r1.8 -r1.9 librsvg.spec
--- openpkg-src/librsvg/librsvg.spec 18 Feb 2005 17:05:02 -0000 1.8
+++ openpkg-src/librsvg/librsvg.spec 21 Feb 2005 15:01:52 -0000 1.9
@@ -38,10 +38,11 @@
Group: Graphics
License: LGPL
Version: %{V_major}.%{V_minor}
-Release: 20050218
+Release: 20050221
# list of sources
Source0:
http://ftp.gnome.org/pub/GNOME/sources/librsvg/%{V_major}/librsvg-%{version}.tar.bz2
+Patch0: librsvg.patch
# build information
Prefix: %{l_prefix}
@@ -67,6 +68,7 @@
%prep
%setup -q
+ %patch -p0
%{l_shtool} subst \
-e 's;^\(SUBDIRS =.*\) moz-plugin\(.*\)$;\1\2;' \
Makefile.in
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]