openbsd-ports/games/wesnoth/patches/patch-src_network_cpp
jasper 3ebfa6e605 - update wesnoth to 1.8 series
- switch to new depends

looks ok to sthen,
tested by many on ports@
2010-10-12 20:33:17 +00:00

17 lines
587 B
Plaintext

$OpenBSD: patch-src_network_cpp,v 1.2 2010/10/12 20:33:18 jasper Exp $
--- src/network.cpp.orig Thu Apr 8 11:09:40 2010
+++ src/network.cpp Thu Apr 8 11:10:32 2010
@@ -882,9 +882,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;