summaryrefslogtreecommitdiff
path: root/math/py-scipy/patches/patch-scipy_stats__unuran_setup.py
blob: df9ec95d88afbb058ce375658245a9a011c50864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-scipy_stats__unuran_setup.py,v 1.1 2022/07/30 16:13:48 he Exp $

On NetBSD/powerpc, you can't build with _ISOC99_SOURCE defined,
the include of <ieeefp.h> deep down in the python headers will fail
with undefined types.

--- ./scipy/stats/_unuran/setup.py.orig	2022-05-16 12:36:53.864307900 +0000
+++ ./scipy/stats/_unuran/setup.py
@@ -95,7 +95,6 @@ def configuration(parent_package="", top
         ("UNUR_ENABLE_INFO", "1"),
         ("VERSION", '"%s"' % UNURAN_VERSION),
         ("HAVE_CONFIG_H", "1"),
-        ("_ISOC99_SOURCE", "1"),
     ]
 
     UNURAN_DIRS = [