File tulip-crash-handler.patch of Package tulip

Index: tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp
===================================================================
--- tulip-3.7.0-src.orig/software/crash_handling/CrashHandling.cpp
+++ tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp
@@ -33,6 +33,8 @@ using namespace std;
  */
 #if defined(__linux) || defined(__APPLE__)
 
+# if defined(__i386__) || defined(__amd64__)
+
 #include "UnixSignalInterposer.h"
 
 #if defined(__APPLE__)
@@ -100,6 +102,11 @@ void start_crash_handler() {
   installSignalHandler(SIGBUS, &dumpStack);
 }
 
+# else
+// architecture not supported
+void start_crash_handler() {}
+# endif
+
 /*
   MinGW-specific handling
  */
openSUSE Build Service is sponsored by