head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.42 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.40 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.38 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.36 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.34 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.32 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.30 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.28 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.26 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.24 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.22 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.20 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.18 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.16 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.14 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.12 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.10 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.8 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.6 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.4 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.2 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.1.0.72 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.70 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.66 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.46 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.68 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.64 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.62 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.60 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.58 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.56 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.54 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.52 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.50 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.48 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.44 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.42 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.40 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.38 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.36 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.34 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.32 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.30 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.28 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.26 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.24 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.22 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.20 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.18 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.16 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.14 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.12 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.10 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.8 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.6 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.4 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.2 pkgsrc-2012Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2021.01.27.12.13.43; author triaxx; state Exp; branches; next 1.1; commitid IKDW69ODVlIAqmFC; 1.1 date 2012.04.01.14.41.17; author wiz; state Exp; branches; next ; desc @@ 1.2 log @warmux: Update to 11.04.1 pkgsrc changes: --------------- * The site listed in MASTER_SITES seems to be down. We can use mirror sites as those used by FreeBSD. upstream changes: ----------------- > 2011/04/18 - 11.04 release - Replay functionality! Still a bit unstable and version-specific (thanks mylad for the help image) - The various funny animations are now displayed more often - Fixed various bugs with grapple and construct in far edges of the world (thanks peterolen and lordjj for the bug reports) - Improved a bit the grapple behaviour (patch from peterolen) - Reduced max memory usage for the Symbian and Android ports - Introduce quality settings, and add one level for handhelds allowing alphablending and thus much higher quality ground. - Readd fading to laser beams - Fix key binding edition menu - Fix keys getting stuck when modifiers (control/alt/shift) were changed - Clean and update command line parameters; --size sets display size - Big rewrite of internal network protocol; should reduce a bit traffic - Various fixes with network menu (incorrect team updates, crashes) - Cache loading of xml files: menus and particle spawning should now be much faster - Android port: better resume - Android port: text editing with the classical virtual keyboard - Android port: can go to sleep when downloading (also more robust) - Fix MacOSX not able to list public games @ text @$NetBSD: patch-lib_warmux_action_action.cpp,v 1.1 2012/04/01 14:41:17 wiz Exp $ Cast away some constness for clang-3.1. --- lib/warmux/action/action.cpp.orig 2011-04-28 19:03:14.000000000 +0000 +++ lib/warmux/action/action.cpp @@@@ -85,7 +85,7 @@@@ Action::Action(const char *buffer, Dista { m_creator = _creator; - m_header.len = SDLNet_Read32(buffer); + m_header.len = SDLNet_Read32((char*)buffer); ASSERT(m_header.len >= sizeof(Header)); buffer += 4; // All of the following could be skipped for the actions we now, @ 1.1 log @Cast away some constness so this builds with clang. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/warmux/action/action.cpp.orig 2011-01-20 15:53:53.000000000 +0000 d7 3 a9 1 @@@@ -73,16 +73,16 @@@@ Action::Action(const char *buffer, Dista d11 3 a13 4 var.clear(); buffer += 4; // skip the buffer len - m_type = (Action_t)SDLNet_Read32(buffer); + m_type = (Action_t)SDLNet_Read32((char*)buffer); d15 1 a15 14 - m_timestamp = (uint)SDLNet_Read32(buffer); + m_timestamp = (uint)SDLNet_Read32((char*)buffer); buffer += 4; - int m_length = SDLNet_Read32(buffer); + int m_length = SDLNet_Read32((char*)buffer); buffer += 4; for(int i=0; i < m_length; i++) { - uint32_t val = SDLNet_Read32(buffer); + uint32_t val = SDLNet_Read32((char*)buffer); var.push_back(val); buffer += 4; } @