File: tcliis-Use-standard-path-for-imtoolsrc.patch

package info (click to toggle)
saods9 8.6%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 23,220 kB
  • sloc: tcl: 78,253; cpp: 71,015; ansic: 3,955; xml: 1,555; sh: 968; makefile: 183; perl: 68
file content (27 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (2)
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
From: Ole Streicher <olebole@debian.org>
Date: Wed, 10 Jun 2020 16:05:15 +0200
Subject: [tcliis] Use standard path for imtoolsrc

---
 tksao/iis/util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tksao/iis/util.c b/tksao/iis/util.c
index d88a6dc..a02f394 100644
--- a/tksao/iis/util.c
+++ b/tksao/iis/util.c
@@ -51,12 +51,12 @@ void get_fbconfig (register XimDataPtr xim)
 	int	config, nframes, width, height, i;
 	char	lbuf[SZ_LINE+1], *fname;
 	static char *fb_paths[] = {
+		"/usr/lib/iraf/dev/imtoolrc",
 		"/usr/local/lib/imtoolrc",
 		"/opt/local/lib/imtoolrc",
 		"/iraf/iraf/dev/imtoolrc",
-		"/local/lib/imtoolrc",
 		"/usr/iraf/dev/imtoolrc",
-		"/usr/local/iraf/dev/imtoolrc",
+		"/usr/local/lib/iraf/dev/imtoolrc",
 		NULL};
 
 	/* Initialize the config table. */