Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2015 14:19:17 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399131 - head/math/py-numpy/files
Message-ID:  <201510121419.t9CEJHwY016947@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Mon Oct 12 14:19:17 2015
New Revision: 399131
URL: https://svnweb.freebsd.org/changeset/ports/399131

Log:
  Unbreak build on FreeBSD 9
  
  Reported by:	pkg-fallout, <soralx@cydem.org> (private email)

Added:
  head/math/py-numpy/files/patch-numpy_core_src_npymath_npy__math__complex.c.src   (contents, props changed)

Added: head/math/py-numpy/files/patch-numpy_core_src_npymath_npy__math__complex.c.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy/files/patch-numpy_core_src_npymath_npy__math__complex.c.src	Mon Oct 12 14:19:17 2015	(r399131)
@@ -0,0 +1,36 @@
+Revert changes in revision c15f774, "remove a bunch of compiler warnings"
+
+--- numpy/core/src/npymath/npy_math_complex.c.src.orig	2015-08-11 17:03:43 UTC
++++ numpy/core/src/npymath/npy_math_complex.c.src
+@@ -33,13 +33,12 @@
+  */
+ #include "npy_math_common.h"
+ #include "npy_math_private.h"
+-#include <numpy/utils.h>
+ 
+ 
+ #define raise_inexact() do { volatile npy_float junk = 1 + tiny; } while(0)
+ 
+ 
+-static __COMP_NPY_UNUSED npy_float tiny = 3.9443045e-31f;
++static npy_float tiny = 3.9443045e-31f;
+ 
+ 
+ /**begin repeat
+@@ -184,8 +183,6 @@ npy_carg@c@(@ctype@ z)
+ #define SCALED_CEXP_LOWERL 11357.216553474703895L
+ #define SCALED_CEXP_UPPERL 22756.021937783004509L
+ 
+-#ifndef HAVE_CEXP@C@
+-
+ static
+ @ctype@
+ _npy_scaled_cexp@c@(@type@ x, @type@ y, npy_int expt)
+@@ -212,6 +209,7 @@ _npy_scaled_cexp@c@(@type@ x, @type@ y, 
+                          npy_ldexp@c@(mant * mantsin, expt + exsin));
+ }
+ 
++#ifndef HAVE_CEXP@C@
+ @ctype@
+ npy_cexp@c@(@ctype@ z)
+ {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510121419.t9CEJHwY016947>