diff --git a/games/gtkradiant/files/patch-plugins_vfspk3_vfs.cpp b/games/gtkradiant/files/patch-plugins_vfspk3_vfs.cpp new file mode 100644 index 000000000000..883de622522e --- /dev/null +++ b/games/gtkradiant/files/patch-plugins_vfspk3_vfs.cpp @@ -0,0 +1,11 @@ +--- plugins/vfspk3/vfs.cpp.orig 2006-02-10 22:01:20 UTC ++++ plugins/vfspk3/vfs.cpp +@@ -351,7 +351,7 @@ void InitDirectory(const char* directory + if(name == 0) + break; + +- char *ext = strrchr (name, '.'); ++ const char *ext = strrchr (name, '.'); + if ((ext == 0) || *(++ext) == '\0' || GetArchiveTable(archiveModules, ext) == 0) + continue; + diff --git a/games/gtkradiant/files/patch-radiant_eclass__def.cpp b/games/gtkradiant/files/patch-radiant_eclass__def.cpp new file mode 100644 index 000000000000..bba8e62c54e9 --- /dev/null +++ b/games/gtkradiant/files/patch-radiant_eclass__def.cpp @@ -0,0 +1,13 @@ +--- 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)