Files
f2c/f2c-20180821.patch
Petr Vanek 3d4a26544b Accepting request 630749 from home:mcalabkova:branches:devel:languages:misc
- update to version 0.23
  * new patches and libraries and updated specfile according to 
    Fedora version 20160102
- removed patches
  * removing obsolete patches f2c-integer.diff, f2c-malloccheck.diff
    f2c.diff, tmpfile-fix.patch and yyparse.patch and usefull, yet 
    inconsistent f2c-optflags.patch
- added patches
  * patches f2c-20110801.patch to use shared library libf2c.so.0.23 
    and libf2c-20110801.patch to use less memory copied from Fedora 
    repository
  * patch f2c-20180821.patch released to fix optflags parsing

OBS-URL: https://build.opensuse.org/request/show/630749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/f2c?expand=0&rev=7
2018-09-10 09:41:44 +00:00

24 lines
969 B
Diff

--- a/libf2c/makefile.u 2018-08-21 11:18:51.000000000 -0800
+++ b/libf2c/makefile.u 2018-08-21 11:17:43.000000000 -0800
@@ -80,6 +80,7 @@ libf2c.a: $(OFILES)
## must appear in the CFLAGS assignment when making libf2c.so.
## Under Solaris, use -Kpic in CFLAGS and use "ld -G" instead
## of "$(CC) -shared".
+
## For MacOSX 10.4 and 10.5 (and perhaps other versions >= 10.3), use
## "MACOSX_DEPLOYMENT_TARGET=10.3 libtool -dynamic -undefined dynamic_lookup -single_module"
## instead of "$(CC) -shared", and when running programs linked against libf2c.so,
@@ -91,10 +92,10 @@ libf2c.so: $(OFILES)
### If your system lacks ranlib, you don't need it; see README.
f77vers.o: f77vers.c
- $(CC) -c f77vers.c
+ $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) -o f77vers.o f77vers.c
i77vers.o: i77vers.c
- $(CC) -c i77vers.c
+ $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) -o i77vers.o i77vers.c
# To get an "f2c.h" for use with "f2c -C++", first "make hadd"
hadd: f2c.h0 f2ch.add