summaryrefslogtreecommitdiff
path: root/games-arcade/blobby/files/blobby-1.0-compile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/blobby/files/blobby-1.0-compile.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/blobby/files/blobby-1.0-compile.patch')
-rw-r--r--games-arcade/blobby/files/blobby-1.0-compile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/games-arcade/blobby/files/blobby-1.0-compile.patch b/games-arcade/blobby/files/blobby-1.0-compile.patch
new file mode 100644
index 000000000000..f41601d56375
--- /dev/null
+++ b/games-arcade/blobby/files/blobby-1.0-compile.patch
@@ -0,0 +1,29 @@
+From eaa17d2ad90de2024fc3a7a59575597d1dc0b171 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 21 Jan 2017 18:01:14 +0100
+Subject: [PATCH] Fix compilation
+
+---
+ src/NetworkMessage.cpp | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/src/NetworkMessage.cpp b/src/NetworkMessage.cpp
+index 9178e74..0c3163b 100644
+--- a/src/NetworkMessage.cpp
++++ b/src/NetworkMessage.cpp
+@@ -109,6 +109,11 @@ bool operator == (const ServerInfo& lval, const ServerInfo& rval)
+
+ std::ostream& operator<<(std::ostream& stream, const ServerInfo& val)
+ {
+- return stream << val.name << " (" << val.hostname << ":" << val.port << ")";
++ return stream
++ << std::string(val.name)
++ << std::string(" (")
++ << std::string(val.hostname)
++ << std::string(":") << std::to_string(val.port)
++ << std::string(")");
+ }
+
+--
+2.11.0
+