summaryrefslogtreecommitdiff
path: root/math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c
blob: 63359cad71b87b3a55b696aad35a5beb97dfbca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-numpy_linalg_lapack__litemodule.c,v 1.2 2020/04/27 17:00:35 adam Exp $

Add function definition for FNAME(MAIN_).

--- numpy/linalg/lapack_litemodule.c.orig	2020-04-19 08:51:58.000000000 +0000
+++ numpy/linalg/lapack_litemodule.c
@@ -37,6 +37,8 @@ typedef struct { float r, i; } f2c_compl
 typedef struct { double r, i; } f2c_doublecomplex;
 /* typedef long int (*L_fp)(); */
 
+int FNAME(MAIN_)() { return 0; }
+
 extern fortran_int FNAME(dgelsd)(fortran_int *m, fortran_int *n, fortran_int *nrhs,
                           double a[], fortran_int *lda, double b[], fortran_int *ldb,
                           double s[], double *rcond, fortran_int *rank,