Package: superlu / 5.3.0+dfsg1-2

mc64ad-stub.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Provide stubs for the two functions whose implementation is nonfree
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2013-11-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- /dev/null
+++ b/SRC/mc64ad.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+void mc64id_(int *a)
+{
+  fprintf(stderr, "SuperLU: MC64 functionality not available (it uses non-free code). Aborting.\n");
+  abort();
+}
+
+void mc64ad_(int *a, int *b, int *c, int d[], int e[], double f[],
+             int *g, int h[], int *i, int j[], int *k, double l[],
+             int m[], int n[])
+{
+  fprintf(stderr, "SuperLU: MC64 functionality not available (it uses non-free code). Aborting.\n");
+  abort();
+}