diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2011-08-29 04:13:44 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2011-08-29 04:13:44 +0400 |
commit | 1beccaff30f44368fc1e039b70ab37dc96b8ada7 (patch) | |
tree | d426866e7b80c0e381d30bbe6a430d7de05f5d45 /debian/patches/no-missing-messages.patch | |
parent | 1a6cbb83c5c8221f33a8e79793599f05682d2db5 (diff) | |
download | open-axiom-debian-1beccaff30f44368fc1e039b70ab37dc96b8ada7.tar.gz |
Do not print any messages if missing parts
Diffstat (limited to 'debian/patches/no-missing-messages.patch')
-rw-r--r-- | debian/patches/no-missing-messages.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/no-missing-messages.patch b/debian/patches/no-missing-messages.patch new file mode 100644 index 0000000..a888d33 --- /dev/null +++ b/debian/patches/no-missing-messages.patch @@ -0,0 +1,21 @@ +Index: open-axiom-debian/src/sman/sman.c +=================================================================== +--- open-axiom-debian.orig/src/sman/sman.c 2011-08-29 04:10:30.000000000 +0400 ++++ open-axiom-debian/src/sman/sman.c 2011-08-29 04:11:32.000000000 +0400 +@@ -450,7 +450,6 @@ + const char* command = oa_concatenate_string(root_dir,HypertexProgram); + + if (readablep(command) != 1) { +- fprintf(stderr, "Hypertex program not found.\n"); + return; + } + if (PasteFile){ +@@ -480,8 +479,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, */ |