summaryrefslogtreecommitdiff
path: root/debian/patches/no-missing-messages.patch
blob: 38c2f9f8bc251977046a22562256d79d1fc2d345 (plain)
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
Description: suppress "program not found" messages.  This programs are
 in separated packages, and open-axiom recommends them.
Forwarded: not-needed
Origin: vendor
Index: open-axiom/src/sman/sman.c
===================================================================
--- open-axiom.orig/src/sman/sman.c	2013-09-01 11:22:27.000000000 +0400
+++ open-axiom/src/sman/sman.c	2013-09-01 11:22:27.000000000 +0400
@@ -449,7 +449,6 @@
   const char* command = oa_concatenate_string(root_dir,HypertexProgram);
 
   if (readablep(command) != 1) {
-    fprintf(stderr, "Hypertex program not found.\n");
     return;
   } 
   if (PasteFile){
@@ -479,8 +478,6 @@
 
   if (readablep(command) == 1)
     spawn_of_hell(command, DoItAgain);
-  else
-    fprintf(stderr, "Graphics program not found.\n");
 }
 
 /* Start the core executable session in a separate process, */