[22377] trunk/dports/gnome/inkscape
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 27 11:42:59 PST 2007
Revision: 22377
http://trac.macosforge.org/projects/macports/changeset/22377
Author: yves at macports.org
Date: 2007-02-27 11:42:59 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
Patch tries to fix a 10.3 problem ... Plug 'n Pray !
Modified Paths:
--------------
trunk/dports/gnome/inkscape/Portfile
Added Paths:
-----------
trunk/dports/gnome/inkscape/files/patch-object-edit.cpp
Modified: trunk/dports/gnome/inkscape/Portfile
===================================================================
--- trunk/dports/gnome/inkscape/Portfile 2007-02-27 19:41:28 UTC (rev 22376)
+++ trunk/dports/gnome/inkscape/Portfile 2007-02-27 19:42:59 UTC (rev 22377)
@@ -49,6 +49,10 @@
CPPFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib"
+platform darwin 7 {
+ patchfiles-append patch-object-edit.cpp
+}
+
default_variants \
disable_debugging
Added: trunk/dports/gnome/inkscape/files/patch-object-edit.cpp
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-object-edit.cpp (rev 0)
+++ trunk/dports/gnome/inkscape/files/patch-object-edit.cpp 2007-02-27 19:42:59 UTC (rev 22377)
@@ -0,0 +1,11 @@
+--- src/object-edit.cpp.orig 2007-02-27 13:21:54.000000000 -0500
++++ src/object-edit.cpp 2007-02-27 14:41:08.000000000 -0500
+@@ -918,7 +918,7 @@
+ spiral->rad = rad_new;
+ spiral->t0 = pow(r0 / spiral->rad, 1.0/spiral->exp);
+ }
+- if (!isFinite(spiral->t0)) spiral->t0 = 0.0;
++ if (isinf(spiral->t0)) spiral->t0 = 0.0;
+ spiral->t0 = CLAMP(spiral->t0, 0.0, 0.999);
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070227/672583c2/attachment.html
More information about the macports-changes
mailing list