You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/clapack/files/clapack-3.2.1-fix_include_f...

26 lines
689 B

diff -urN clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h clapack-3.2.1-CMAKE/INCLUDE/clapack.h
--- clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h 2011-04-30 11:39:51.000000000 +0200
+++ clapack-3.2.1-CMAKE/INCLUDE/clapack.h 2011-04-30 11:40:39.000000000 +0200
@@ -3,6 +3,12 @@
#ifndef __CLAPACK_H
#define __CLAPACK_H
+#include <f2c.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer *
incx, complex *cy, integer *incy);
@@ -7250,5 +7256,8 @@
integer ilaenv_(integer *ispec, char *name__, char *opts, integer *n1,
integer *n2, integer *n3, integer *n4);
+#ifdef __cplusplus
+}
+#endif
#endif /* __CLAPACK_H */