openbsd-ports/games/wesnoth/patches/patch-src_network_cpp
kirby 72c46a20eb Update wesnoth to the latest release 1.10.1.
General difference (for ports infrastructure):
 - switch to cmake build system
 - drop external lua and use internal patched version
 - set SEPARATE_BUILD=flavored to avoid extracting a lot of data for every arch
 - removed superfluous dependency to devel/sdl
 - drop tinygui FLAVOR

Full changelog is here:
http://svn.gna.org/viewcvs/*checkout*/wesnoth/tags/1.10.0/changelog

OKs from jasper@ (maintainer), aja@, pascal@, cmake-wise OK from dcoppa@
Positive feedback from Antti Harri and Bryan Linton via ports@
2012-04-07 08:32:32 +00:00

17 lines
586 B
Plaintext

$OpenBSD: patch-src_network_cpp,v 1.3 2012/04/07 08:32:32 kirby Exp $
--- src/network.cpp.orig Sat Jan 7 06:35:17 2012
+++ src/network.cpp Mon Feb 13 17:17:39 2012
@@ -941,9 +941,9 @@ struct bandwidth_stats {
int in_packets;
int in_bytes;
int day;
- const static size_t type_width = 16;
- const static size_t packet_width = 7;
- const static size_t bytes_width = 10;
+ static const size_t type_width = 16;
+ static const size_t packet_width = 7;
+ static const size_t bytes_width = 10;
bandwidth_stats& operator+=(const bandwidth_stats& a)
{
out_packets += a.out_packets;