openbsd-ports/games/xmoto/patches/patch-src_GameInit_cpp
kirby 36c03ec4bd - Update to 0.5.9 from Antti Harri, thanks.
- Switch MAINTAINER, requested by previous maintainer.

ok armani@ (old maintainer)
2012-04-15 08:49:05 +00:00

13 lines
510 B
Plaintext

$OpenBSD: patch-src_GameInit_cpp,v 1.1 2012/04/15 08:49:05 kirby Exp $
--- src/GameInit.cpp.orig Sat Sep 24 20:25:51 2011
+++ src/GameInit.cpp Sun Oct 30 11:57:07 2011
@@ -269,7 +269,7 @@ void GameApp::run_load(int nNumArgs, char** ppcArgs) {
struct sigaction v_act;
v_act.sa_handler = xmexit_term;
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
v_act.sa_restorer = NULL;
#endif
sigemptyset(&v_act.sa_mask);