File: default-paths.patch

package info (click to toggle)
ncl 6.6.2.dfsg.1-11
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 236,456 kB
  • sloc: ansic: 636,334; fortran: 443,915; csh: 19,653; sed: 11,224; yacc: 4,248; f90: 4,079; sh: 3,284; xml: 1,928; python: 1,841; lex: 1,298; perl: 995; java: 447; makefile: 398; objc: 291
file content (18 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Ensure Default paths on Debian are found without env. variables set.
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2017-04-17
Forwarded: not-needed

Index: ncl-6.6.2/ni/src/lib/hlu/Palette.c
===================================================================
--- ncl-6.6.2.orig/ni/src/lib/hlu/Palette.c
+++ ncl-6.6.2/ni/src/lib/hlu/Palette.c
@@ -35,7 +35,7 @@
 
 #define NDV_COLORMAP_PATH  	"NDV_COLORMAP_PATH"
 #define NCARG_COLORMAP_PATH  	"NCARG_COLORMAP_PATH"
-#define DEFAULT_COLORMAP_PATH 	".:$NCARG_ROOT/lib/ncarg/colormaps"
+#define DEFAULT_COLORMAP_PATH 	".:$NCARG_ROOT/lib/ncarg/colormaps:/usr/share/ncarg/colormaps"
 
 #define Oset(field)	NhlOffset(NhlPaletteLayerRec,pal.field)
 static NhlResource resources[] = {