--- signalhandling.cpp.orig	2012-10-05 21:40:49.000000000 -0500
+++ signalhandling.cpp	2012-10-05 21:43:27.000000000 -0500
@@ -83,7 +83,11 @@
         s_defaultHandlerList << SIGINT << SIGTERM << SIGSEGV << SIGABRT
                              << SIGFPE << SIGILL;
 #ifndef _WIN32
+#ifdef Q_OS_MACX
+        s_defaultHandlerList << SIGBUS << SIGUSR1;
+#else
         s_defaultHandlerList << SIGBUS << SIGRTMIN;
+#endif
 
     if (::socketpair(AF_UNIX, SOCK_STREAM, 0, sigFd))
     {
@@ -305,7 +309,11 @@
 
     SigHandlerFunc handler = NULL;
     bool allowNullHandler = false;
+#ifdef Q_OS_MACX
+    if (signum == SIGUSR1)
+#else
     if (signum == SIGRTMIN)
+#endif
     {
         // glibc idiots seem to have made SIGRTMIN a macro that expands to a
         // function, so we can't do this in the switch below.
