diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-11-02 13:40:24 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-11-02 13:40:24 +0000 |
commit | b7499ae64dab208d79711d022a7cb28421594b85 (patch) | |
tree | 810984732ff2bcc7b406242348f683d67df254c2 /games | |
parent | 8a502cb2d43b4059a5678ee4539ca03603104107 (diff) | |
download | ports-b7499ae64dab208d79711d022a7cb28421594b85.tar.gz ports-b7499ae64dab208d79711d022a7cb28421594b85.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/keeperrl/files/patch-stack__printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/keeperrl/files/patch-stack__printer.cpp b/games/keeperrl/files/patch-stack__printer.cpp index af6459a7a992..4562459edd99 100644 --- a/games/keeperrl/files/patch-stack__printer.cpp +++ b/games/keeperrl/files/patch-stack__printer.cpp @@ -10,7 +10,7 @@ stack_printer.cpp:329:18: error: assigning to 'char *' from incompatible type 'v stack_t ss = {}; /* malloc is usually used here, I'm not 100% sure my static allocation is valid but it seems to work just fine. */ -+#if defined(__DragonFly__) || (defined(__FreeBSD__) && __FreeBSD__ < 11) ++#if defined(__DragonFly__) + ss.ss_sp = (char*)alternate_stack; +#else ss.ss_sp = (void*)alternate_stack; |