Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libf2c/files: 20070912-link-shared-libf2c-correctly.patch 20090407-link-shared-libf2c-correctly.patch libf2c-20021004-shared-object.patch
Date: Tue, 07 Apr 2009 12:16:46
Message-Id: E1LrAEO-00029L-28@stork.gentoo.org
1 bicatali 09/04/07 12:16:44
2
3 Modified: 20070912-link-shared-libf2c-correctly.patch
4 Added: 20090407-link-shared-libf2c-correctly.patch
5 Removed: libf2c-20021004-shared-object.patch
6 Log:
7 Version bump (bug #263725, thanks to jlec) and fixed for as-needed (bug #248350). Added a static use flag for static library building switch.
8 (Portage version: 2.2_rc28/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 dev-libs/libf2c/files/20070912-link-shared-libf2c-correctly.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20070912-link-shared-libf2c-correctly.patch?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20070912-link-shared-libf2c-correctly.patch?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20070912-link-shared-libf2c-correctly.patch?r1=1.2&r2=1.3
16
17 Index: 20070912-link-shared-libf2c-correctly.patch
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libf2c/files/20070912-link-shared-libf2c-correctly.patch,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- 20070912-link-shared-libf2c-correctly.patch 6 Nov 2008 15:05:15 -0000 1.2
24 +++ 20070912-link-shared-libf2c-correctly.patch 7 Apr 2009 12:16:43 -0000 1.3
25 @@ -5,7 +5,7 @@
26
27 libf2c.so: $(OFILES)
28 - cc -shared -o libf2c.so $(OFILES)
29 -+ $(CC) -shared -Wl,-soname,libf2c.so.2 -lm -o libf2c.so.2 $(OFILES)
30 ++ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 -lm $(OFILES) -o libf2c.so.2
31
32 ### If your system lacks ranlib, you don't need it; see README.
33
34
35
36
37 1.1 dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch?rev=1.1&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch?rev=1.1&content-type=text/plain
41
42 Index: 20090407-link-shared-libf2c-correctly.patch
43 ===================================================================
44 --- makefile.u.orig 2008-07-07 23:27:41.000000000 -0700
45 +++ makefile.u 2008-07-07 23:28:39.000000000 -0700
46 @@ -82,7 +82,7 @@
47 ## of "cc -shared".
48
49 libf2c.so: $(OFILES)
50 - $(CC) -shared -o libf2c.so $(OFILES)
51 + $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 -lm $(OFILES) -o libf2c.so.2
52
53 ### If your system lacks ranlib, you don't need it; see README.