File: 05_xfig-libs.patch

package info (click to toggle)
xfig 1%3A3.2.8b-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,428 kB
  • sloc: ansic: 75,823; sh: 3,174; makefile: 303; javascript: 22; csh: 5
file content (16 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Roland Rosenfeld <roland@debian.org>
Date: Fri, 20 Feb 2004 22:49:14 +0100
Subject: mention xfig-libs package, if no libraries are available.
Forwarded: not-needed

--- a/src/w_library.c
+++ b/src/w_library.c
@@ -1362,7 +1362,7 @@ MakeLibrary(void)
     path = appres.library_dir;
 
     if (stat(path, &st) != 0) {       /* no such file */
-	file_msg("Can't find %s, no libraries available", path);
+	file_msg("Can't find %s, no libraries available, please install package xfig-libs", path);
 	return 0;
     } else if (S_ISDIR(st.st_mode)) {
 	/* if it is directory, scan the sub-directories and search libraries */