From owner-svn-ports-head@freebsd.org Mon Oct 12 14:19:18 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD895A1168C; Mon, 12 Oct 2015 14:19:18 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98DD415EB; Mon, 12 Oct 2015 14:19:18 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9CEJHiA016948; Mon, 12 Oct 2015 14:19:17 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9CEJHwY016947; Mon, 12 Oct 2015 14:19:17 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201510121419.t9CEJHwY016947@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Mon, 12 Oct 2015 14:19:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399131 - head/math/py-numpy/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 14:19:18 -0000 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, (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 + + + #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) + {