summaryrefslogtreecommitdiff
path: root/games/epiar/files/patch-Source_Engine_hud.h
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-01-09 17:56:50 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-01-09 17:56:50 +0000
commit155b7c65609f67cee927dc45d27baae2d07f42f2 (patch)
tree7e87fde25151228c96355d79297eafbc21684fb2 /games/epiar/files/patch-Source_Engine_hud.h
parentAllow building with libc++ r224926 (diff)
Allow building with libc++ r224926
PR: ports/196627 Submitted by: dim@
Diffstat (limited to 'games/epiar/files/patch-Source_Engine_hud.h')
-rw-r--r--games/epiar/files/patch-Source_Engine_hud.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/epiar/files/patch-Source_Engine_hud.h b/games/epiar/files/patch-Source_Engine_hud.h
new file mode 100644
index 000000000000..3b4d55b4eb26
--- /dev/null
+++ b/games/epiar/files/patch-Source_Engine_hud.h
@@ -0,0 +1,11 @@
+--- Source/Engine/hud.h.orig 2012-10-27 08:18:51 UTC
++++ Source/Engine/hud.h
+@@ -44,7 +44,7 @@ enum HudMap{
+ class AlertMessage {
+ public:
+ AlertMessage( string message, Uint32 start );
+- bool operator ==(const AlertMessage& other) {return (start == other.start) && (message == other.message);}
++ bool operator ==(const AlertMessage& other) const {return (start == other.start) && (message == other.message);}
+ string message;
+ Uint32 start;
+ };