diff options
author | 2011-04-30 09:50:09 +0000 | |
---|---|---|
committer | 2011-04-30 09:50:09 +0000 | |
commit | d72f3f4f60b9fe27ce663bcfa5d1a639bade0de4 (patch) | |
tree | 8d669962c6e568113fc0fe50e7c07a713b00fee1 /sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch | |
parent | Version bump. Fixes bug #360869. Drop old. (diff) | |
download | gentoo-2-d72f3f4f60b9fe27ce663bcfa5d1a639bade0de4.tar.gz gentoo-2-d72f3f4f60b9fe27ce663bcfa5d1a639bade0de4.tar.bz2 gentoo-2-d72f3f4f60b9fe27ce663bcfa5d1a639bade0de4.zip |
Revision bump to make this work with cpp. Add missing include line.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch')
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch b/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch new file mode 100644 index 000000000000..002336f2d124 --- /dev/null +++ b/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch @@ -0,0 +1,25 @@ +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 */ |