summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-04-08 10:50:48 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-04-08 10:50:48 +0000
commit6c37c19cfb6680726b5c5c43a9f03273eff3da01 (patch)
tree597dea4e53602571cc7de3fec3b946002934797a /gnome-base/librsvg/files
parentpdftops doesn't print pdf form elements properly, bug #46529 (diff)
downloadhistorical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.tar.gz
historical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.tar.bz2
historical-6c37c19cfb6680726b5c5c43a9f03273eff3da01.zip
Patch that fixes compilation under GCC 2. Misc cleanups.
Diffstat (limited to 'gnome-base/librsvg/files')
-rw-r--r--gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch b/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch
new file mode 100644
index 000000000000..cfcb0db49f95
--- /dev/null
+++ b/gnome-base/librsvg/files/librsvg-2.6.4-gcc2_fix.patch
@@ -0,0 +1,24 @@
+diff -NurdB librsvg-2.6.4-orig/rsvg-paint-server.c librsvg-2.6.4/rsvg-paint-server.c
+--- librsvg-2.6.4-orig/rsvg-paint-server.c 2004-04-08 05:25:24.000000000 -0500
++++ librsvg-2.6.4/rsvg-paint-server.c 2004-04-08 05:32:19.000000000 -0500
+@@ -149,6 +149,9 @@
+ double x1, y1, x2, y2;
+ double dx, dy, scale;
+ double affine[6];
++ float xchange, ychange, pointlen,unitlen;
++ float nx2, ny2;
++ float x0, y0;
+ int i;
+
+ agl = z->agl;
+@@ -180,10 +183,6 @@
+
+ art_affine_multiply(affine, rlg->affine, affine);
+
+- float xchange, ychange, pointlen,unitlen;
+- float nx2, ny2;
+- float x0, y0;
+-
+ xchange = rlg->x2 - rlg->x1;
+ ychange = rlg->y2 - rlg->y1;
+