freebsd-ports/games/gtkradiant/files/patch-radiant_eclass__def.cpp
Dmitry Marakasov 3e2501b5a2 - Fix build with clang 3.9
PR:		214650
Approved by:	portmgr blanket
2016-11-25 14:27:36 +00:00

13 lines
407 B
C++

--- radiant/eclass_def.cpp.orig 2006-02-10 22:01:20 UTC
+++ radiant/eclass_def.cpp
@@ -168,8 +168,8 @@ void setSpecialLoad(EntityClass *e, cons
// Hydra: removed some amazingly bad cstring usage, whoever wrote that
// needs to be taken out and shot.
- char *pText = 0;
- char *where = 0;
+ const char *pText = 0;
+ const char *where = 0;
where = strstr(e->comments(),pWhat);
if (!where)