Package: ncl / 6.3.0-13

ncldriver.patch Patch series | download
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
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Workaround for compiler bug in _NGResolvePath() on Debian.
 Root cause still under examination
Last-Updated: 2014-07-26
Forwarded: not-needed

Index: ncl-6.3.0/ni/src/ncl/NclDriver.c
===================================================================
--- ncl-6.3.0.orig/ni/src/ncl/NclDriver.c
+++ ncl-6.3.0/ni/src/ncl/NclDriver.c
@@ -13,11 +13,11 @@ int quark_comp(const void *q1, const voi
 
 static int numberOfPreloadedScripts = 5;
 
-char *preload_scripts[5] = {"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl",
-                            "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl",
-                            "$NCARG_ROOT/lib/ncarg/nclscripts/utilities.ncl",
-                            "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl",
-                            "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"};
+char *preload_scripts[5] = {"/usr/lib/ncarg/nclscripts/csm/gsn_code.ncl",
+                            "/usr/usr/lib/ncarg/nclscripts/csm/gsn_csm.ncl",
+                            "/usr/lib/ncarg/nclscripts/utilities.ncl",
+                            "/usr/lib/ncarg/nclscripts/csm/contributed.ncl",
+                            "/usr/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"};
 
 int NclDriver(int argc, char **argv)
 {