freebsd-ports/games/adonthell/files/patch-src_label.cc
John Marino 9f779a84f2 games/adonthell: Fix C++ to build on gcc 4.6+ and clang
The makefile was also patched because it was programmed to exit 100%
of the time.

Taken from:	Debian
Approved by:	portmgr (bapt, implicit)
2013-11-02 14:18:58 +00:00

11 lines
249 B
C++

--- src/label.cc.orig 2008-05-29 18:42:50.000000000 +0000
+++ src/label.cc
@@ -645,7 +645,7 @@ void label::cursor_previous ()
}
-const string label::text_string () const
+const string & label::text_string () const
{
return my_text_;
}