diff -ru -x '*.Po' -x '*.Plo' eix-0.22.3.orig/src/cache/common/ebuild_exec.cc eix-0.22.3/src/cache/common/ebuild_exec.cc --- eix-0.22.3.orig/src/cache/common/ebuild_exec.cc 2010-10-28 15:08:47 +0200 +++ eix-0.22.3/src/cache/common/ebuild_exec.cc 2010-10-28 15:12:19 +0200 @@ -68,13 +68,22 @@ m_handler.sa_handler = ebuild_sig_handler; m_handler.sa_flags = 0; sigemptyset(&(m_handler.sa_mask)); - if(((handleHUP.sa_flags & SA_SIGINFO) != 0) || + if( + #ifdef SA_SIGINFO + ((handleHUP.sa_flags & SA_SIGINFO) != 0) || + #endif (handleHUP.sa_handler != SIG_IGN)) sigaction(SIGHUP, &m_handler, NULL); - if(((handleINT.sa_flags & SA_SIGINFO) != 0) || + if( + #ifdef SA_SIGINFO + ((handleINT.sa_flags & SA_SIGINFO) != 0) || + #endif (handleINT.sa_handler != SIG_IGN)) sigaction(SIGINT, &m_handler, NULL); - if(((handleTERM.sa_flags & SA_SIGINFO) != 0) || + if( + #ifdef SA_SIGINFO + ((handleTERM.sa_flags & SA_SIGINFO) != 0) || + #endif (handleTERM.sa_handler != SIG_IGN)) sigaction(SIGTERM, &m_handler, NULL); #else