File: mc64ad-stub.patch

package info (click to toggle)
superlu 7.0.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,292 kB
  • sloc: ansic: 59,338; makefile: 413; csh: 141; f90: 125; fortran: 77
file content (25 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (7)
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();
+}