File: fix_gfortranbegin.patch

package info (click to toggle)
aces3 3.0.8-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 775,180 kB
  • sloc: f90: 5,133,741; fortran: 381,059; ansic: 22,951; pascal: 7,515; cpp: 4,349; makefile: 1,715; csh: 292; sh: 144
file content (45 lines) | stat: -rw-r--r-- 1,898 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Remove -lgfortranbegin; gone in gcc6.
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Origin: https://bugs.debian.org/831164
Forwarded: no
Last-Updated: 2016-09-10

Index: aces3-3.0.8/configure.ac
===================================================================
--- aces3-3.0.8.orig/configure.ac
+++ aces3-3.0.8/configure.ac
@@ -57,7 +57,7 @@ fi
 SERIAL_CPP="g++"
 #Also set SIAL_COMPILER_LIBS accordingly
 if test x$SIAL_COMPILER_LIBS = x; then
-SIAL_COMPILER_LIBS="-lsial -lsip_shared -laces2 -lgfortranbegin -lgfortran -ldl -lsip1 -lsip2"
+SIAL_COMPILER_LIBS="-lsial -lsip_shared -laces2  -lgfortran -ldl -lsip1 -lsip2"
 fi
 ACESLIBS=$GNULIBS
 ACESFLAGS=$GNUFLAGS
Index: aces3-3.0.8/configure
===================================================================
--- aces3-3.0.8.orig/configure
+++ aces3-3.0.8/configure
@@ -3180,7 +3180,7 @@ fi
 SERIAL_CPP="g++"
 #Also set SIAL_COMPILER_LIBS accordingly
 if test x$SIAL_COMPILER_LIBS = x; then
-SIAL_COMPILER_LIBS="-lsial -lsip_shared -laces2 -lgfortranbegin -lgfortran -ldl -lsip1 -lsip2"
+SIAL_COMPILER_LIBS="-lsial -lsip_shared -laces2  -lgfortran -ldl -lsip1 -lsip2"
 fi
 ACESLIBS=$GNULIBS
 ACESFLAGS=$GNUFLAGS
Index: aces3-3.0.8/GNUmakefile.chssi
===================================================================
--- aces3-3.0.8.orig/GNUmakefile.chssi
+++ aces3-3.0.8/GNUmakefile.chssi
@@ -40,7 +40,7 @@ CPP=mpicxx
 SERIAL_CPP=g++
 LIB_DIRS=-L/usr/lib
 LIBS=-lmpi_cxx -lsip1 -lsip2 -lsip_shared -lframelib -laces2 -lgeopt -lsymcor -laces2 -lerd -lerd_F12 -loed -loed_F12 -lF12grid -ldup -lsip1 -lsip2 -lblas -llapack -lstdc++
-SIAL_COMPILER_LIBS=-lsial -lsip_shared -laces2 -lgfortranbegin -lgfortran -ldl -lsip1 -lsip2
+SIAL_COMPILER_LIBS=-lsial -lsip_shared -laces2  -lgfortran -ldl -lsip1 -lsip2
 else
 FFLAGS=-D__fortran -D__fortran77 -DMPIF2C -Zp8 -zero -traceback -O2 
 CFLAGS=-DMPIF2C -DC_SUFFIX  -DCB_SUFFIX