summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-07 12:28:06 +0000
committerJustin Lecher <jlec@gentoo.org>2010-05-07 12:28:06 +0000
commit61be12c64726783be45c862743c6a849de28e781 (patch)
treed36e2e9329e648194dc825ec0a9e2db64f532ab4 /dev-libs/libf2c/files/20090407-main.patch
parentmoved pre-compiled binary into /opt. (diff)
downloadgentoo-2-61be12c64726783be45c862743c6a849de28e781.tar.gz
gentoo-2-61be12c64726783be45c862743c6a849de28e781.tar.bz2
gentoo-2-61be12c64726783be45c862743c6a849de28e781.zip
Fixed undefined symbols
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libf2c/files/20090407-main.patch')
-rw-r--r--dev-libs/libf2c/files/20090407-main.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/libf2c/files/20090407-main.patch b/dev-libs/libf2c/files/20090407-main.patch
new file mode 100644
index 000000000000..5e16b9f2fad2
--- /dev/null
+++ b/dev-libs/libf2c/files/20090407-main.patch
@@ -0,0 +1,15 @@
+diff --git a/main.c b/main.c
+index d95fdc9..cf15b7d 100644
+--- a/main.c
++++ b/main.c
+@@ -135,7 +135,9 @@ f_init();
+ #ifndef NO_ONEXIT
+ ONEXIT(f_exit);
+ #endif
+-MAIN__();
++int MAIN__( )
++ { return(0);
++}
+ #ifdef NO_ONEXIT
+ f_exit();
+ #endif