summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-09-04 07:16:32 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-09-04 07:16:32 +0000
commit6e9974dd20a1256b92a7e17df016eed43beb4676 (patch)
tree35491fe0781b3d4f99f49ca04cd230dd01967211 /dev-libs
parentdev-libs/libf2c: Adding new main() patch, #421975 (diff)
downloadgentoo-2-6e9974dd20a1256b92a7e17df016eed43beb4676.tar.gz
gentoo-2-6e9974dd20a1256b92a7e17df016eed43beb4676.tar.bz2
gentoo-2-6e9974dd20a1256b92a7e17df016eed43beb4676.zip
Clean patch
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libf2c/ChangeLog6
-rw-r--r--dev-libs/libf2c/files/libf2c-20110801-main.patch11
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-libs/libf2c/ChangeLog b/dev-libs/libf2c/ChangeLog
index e96db79a0d13..b99a761f0e25 100644
--- a/dev-libs/libf2c/ChangeLog
+++ b/dev-libs/libf2c/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libf2c
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.48 2012/09/04 07:09:31 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.49 2012/09/04 07:16:32 xarthisius Exp $
+
+ 04 Sep 2012; Kacper Kowalik <xarthisius@gentoo.org>
+ files/libf2c-20110801-main.patch:
+ Clean patch
*libf2c-20110801-r2 (04 Sep 2012)
diff --git a/dev-libs/libf2c/files/libf2c-20110801-main.patch b/dev-libs/libf2c/files/libf2c-20110801-main.patch
index 4026db6eff77..36d61c5c5a4c 100644
--- a/dev-libs/libf2c/files/libf2c-20110801-main.patch
+++ b/dev-libs/libf2c/files/libf2c-20110801-main.patch
@@ -1,3 +1,11 @@
+Add weak alias for MAIN__
+
+https://bugs.gentoo.org/show_bug.cgi?id=421975
+https://bugs.gentoo.org/show_bug.cgi?id=433782
+https://groups.google.com/forum/#!msg/comp.os.linux.development.apps/41siJKfcJ78/iIcRfZ4y9G8J
+
+Patch written by Chris Reffett <creffett@gentoo.org>
+and Kacper Kowalik <xarthisius@gentoo.org>
--- a/makefile.u
+++ b/makefile.u
@@ -27,7 +27,7 @@
@@ -20,11 +28,10 @@
qbitbits.c qbitshft.c r_abs.c r_acos.c r_asin.c r_atan.c r_atn2.c \
--- /dev/null
+++ b/main_foo.c
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdlib.h>
+
-+
+void missing_MAIN__ (void)
+{
+ fprintf(stderr, "The Fortran main program is missing.\n");