1 |
jlec 10/05/07 12:28:06 |
2 |
|
3 |
Modified: 20090407-link-shared-libf2c-correctly.patch |
4 |
Added: 20090407-main.patch |
5 |
Log: |
6 |
Fixed undefined symbols |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: 20090407-link-shared-libf2c-correctly.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- 20090407-link-shared-libf2c-correctly.patch 7 Apr 2009 12:16:43 -0000 1.1 |
23 |
+++ 20090407-link-shared-libf2c-correctly.patch 7 May 2010 12:28:06 -0000 1.2 |
24 |
@@ -5,7 +5,7 @@ |
25 |
|
26 |
libf2c.so: $(OFILES) |
27 |
- $(CC) -shared -o libf2c.so $(OFILES) |
28 |
-+ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 -lm $(OFILES) -o libf2c.so.2 |
29 |
++ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 $(OFILES) -o libf2c.so.2 -lm |
30 |
|
31 |
### If your system lacks ranlib, you don't need it; see README. |
32 |
|
33 |
|
34 |
|
35 |
|
36 |
1.1 dev-libs/libf2c/files/20090407-main.patch |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-main.patch?rev=1.1&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-main.patch?rev=1.1&content-type=text/plain |
40 |
|
41 |
Index: 20090407-main.patch |
42 |
=================================================================== |
43 |
diff --git a/main.c b/main.c |
44 |
index d95fdc9..cf15b7d 100644 |
45 |
--- a/main.c |
46 |
+++ b/main.c |
47 |
@@ -135,7 +135,9 @@ f_init(); |
48 |
#ifndef NO_ONEXIT |
49 |
ONEXIT(f_exit); |
50 |
#endif |
51 |
-MAIN__(); |
52 |
+int MAIN__( ) |
53 |
+ { return(0); |
54 |
+} |
55 |
#ifdef NO_ONEXIT |
56 |
f_exit(); |
57 |
#endif |