File: linux_no_underscore.patch

package info (click to toggle)
xgks 2.6.1%2Bdfsg.2-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,288 kB
  • sloc: ansic: 59,017; fortran: 5,878; makefile: 930; pascal: 720; sed: 185; sh: 96
file content (18 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair McKinstry <mckminstry@debian.org>
Description: For Fortran symbols, add one, not two, underscores.
Last-Updated: 2010-07-02
Forwarded: no

Index: xgks-2.6/src/port/fortc/linux.m4
===================================================================
--- xgks-2.6.orig/src/port/fortc/linux.m4	2010-07-02 22:17:06.000000000 +0100
+++ xgks-2.6/src/port/fortc/linux.m4	2010-07-02 22:17:15.000000000 +0100
@@ -5,7 +5,7 @@
 
 # transformation from fortran name to name of C module.  Append an extra
 # underscore if the name contains an underscore.
-define(`NAMEF',`ifelse(index($1,_),-1,$1_,$1__)')
+define(`NAMEF',`ifelse(index($1,_),-1,$1_,$1_)')
 
 define(`REALX',`')
 define(`INTEGERX',`')