aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/svgviewer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-03-01 04:27:26 +0800
committerdinoex <dinoex@FreeBSD.org>2008-03-01 04:27:26 +0800
commit42224f9845c7f1e5b55f0408fc6255f55f0891b8 (patch)
treedce5d779b0b3cd7269007135afa9a2b0471ae2f1 /graphics/svgviewer
parente07e6f0cca7c94d7597e36d9f08a72e0c166fd88 (diff)
downloadfreebsd-ports-gnome-42224f9845c7f1e5b55f0408fc6255f55f0891b8.tar.gz
freebsd-ports-gnome-42224f9845c7f1e5b55f0408fc6255f55f0891b8.tar.zst
freebsd-ports-gnome-42224f9845c7f1e5b55f0408fc6255f55f0891b8.zip
- fix build for updated gnustep-gui
Diffstat (limited to 'graphics/svgviewer')
-rw-r--r--graphics/svgviewer/files/patch-SVGImageRep.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/svgviewer/files/patch-SVGImageRep.m b/graphics/svgviewer/files/patch-SVGImageRep.m
new file mode 100644
index 000000000000..116b26763ad8
--- /dev/null
+++ b/graphics/svgviewer/files/patch-SVGImageRep.m
@@ -0,0 +1,15 @@
+--- SVGImageRep.m.orig 2005-05-23 21:30:29.000000000 +0200
++++ SVGImageRep.m 2008-01-19 07:08:16.000000000 +0100
+@@ -1382,8 +1382,12 @@
+
+ svg_render_context=[[SVGRenderContext alloc] init];
+
++#if 0
+ [svg_render_context prepareRender:
+ sqrt(ctm->matrix.m11*ctm->matrix.m22+ctm->matrix.m12*ctm->matrix.m21)];
++#else
++ [svg_render_context prepareRender: 1.0];
++#endif
+ svg_render(svg,&engine,svg_render_context);
+ [svg_render_context finishRender];
+