1 |
scarabeus 11/04/30 09:50:09 |
2 |
|
3 |
Modified: clapack-3.2.1-noblasf2c.patch |
4 |
Added: clapack-3.2.1-fix_include_file.patch |
5 |
Removed: 3.2.1-solib.patch |
6 |
Log: |
7 |
Revision bump to make this work with cpp. Add missing include line. |
8 |
|
9 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: clapack-3.2.1-noblasf2c.patch |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- clapack-3.2.1-noblasf2c.patch 29 Aug 2010 17:22:24 -0000 1.1 |
25 |
+++ clapack-3.2.1-noblasf2c.patch 30 Apr 2011 09:50:09 -0000 1.2 |
26 |
@@ -66,7 +66,7 @@ |
27 |
-target_link_libraries(lapack blas) |
28 |
|
29 |
+add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ}) |
30 |
-+target_link_libraries(clapack blas f2c) |
31 |
++target_link_libraries(clapack blas f2c m) |
32 |
+set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}") |
33 |
+ |
34 |
+install( |
35 |
|
36 |
|
37 |
|
38 |
1.1 sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: clapack-3.2.1-fix_include_file.patch |
44 |
=================================================================== |
45 |
diff -urN clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h clapack-3.2.1-CMAKE/INCLUDE/clapack.h |
46 |
--- clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h 2011-04-30 11:39:51.000000000 +0200 |
47 |
+++ clapack-3.2.1-CMAKE/INCLUDE/clapack.h 2011-04-30 11:40:39.000000000 +0200 |
48 |
@@ -3,6 +3,12 @@ |
49 |
#ifndef __CLAPACK_H |
50 |
#define __CLAPACK_H |
51 |
|
52 |
+#include <f2c.h> |
53 |
+ |
54 |
+#ifdef __cplusplus |
55 |
+extern "C" { |
56 |
+#endif |
57 |
+ |
58 |
/* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer * |
59 |
incx, complex *cy, integer *incy); |
60 |
|
61 |
@@ -7250,5 +7256,8 @@ |
62 |
integer ilaenv_(integer *ispec, char *name__, char *opts, integer *n1, |
63 |
integer *n2, integer *n3, integer *n4); |
64 |
|
65 |
+#ifdef __cplusplus |
66 |
+} |
67 |
+#endif |
68 |
|
69 |
#endif /* __CLAPACK_H */ |