freebsd-ports/graphics/xfractint/files/patch-common__mpmath_c.c
Pawel Pekala ca4a6cf153 - Update to version 20.04p12 [1]
- Project has new homepage [1]
- Port needs USE_XORG+=xft to compile now
- Use INSTALL_DATA and COPYTREE_SHARE macros instead of CP
  for proper file permissions
- Add desktop entry file

PR:             ports/165911 [1]
Submitted by:   Pedro Giffuni <giffunip@tutopia.com> [1]
Approved by:    maintainer [1]
Feature safe:	yes
2012-03-24 16:51:18 +00:00

11 lines
322 B
C

--- common/mpmath_c.c.orig 2012-03-10 17:28:37.000000000 -0500
+++ common/mpmath_c.c 2012-03-10 17:34:32.000000000 -0500
@@ -220,7 +220,7 @@
if(t.x < -690)
e2x = 0.0;
else
- e2x = expl(t.x);
+ e2x = exp(t.x);
#ifdef XFRACT
if (isnan(e2x) || isinf(e2x))
e2x = 1.0;