Arora: disable 'not implemented' messages

This patch disables the '_sigprocmask called, not implemented' messages.

Fixes #623.
This commit is contained in:
Christian Prochaska 2013-01-16 16:44:01 +01:00 committed by Norman Feske
parent 1fdee7a2cc
commit 49206d7cf6
2 changed files with 15 additions and 1 deletions

View File

@ -24,4 +24,4 @@ $(CONTRIB_DIR)/$(ARORA): $(DOWNLOAD_DIR)/$(ARORA_TGZ)
$(VERBOSE)patch -d $@ -p1 -i ../../src/app/arora/arora_bookmarks.patch
$(VERBOSE)patch -d $@ -p1 -i ../../src/app/arora/arora_disable_program_exit.patch
$(VERBOSE)patch -d $@ -p1 -i ../../src/app/arora/arora_startpage.patch
$(VERBOSE)patch -d $@ -p1 -i ../../src/app/arora/arora_disable_log_messages.patch

View File

@ -0,0 +1,14 @@
diff --git a/src/main.cpp b/src/main.cpp
index 94bece9..1be1bf7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,6 +24,9 @@
#include "explorerstyle.h"
#endif
+/* disable "not implemented yet" messages */
+extern "C" void _sigprocmask() { }
+
int main(int argc, char **argv)
{
Q_INIT_RESOURCE(htmls);