diff options
author | Markus Heidelberg | 2011-10-30 13:13:00 +0100 |
---|---|---|
committer | Markus Heidelberg | 2015-06-26 10:57:16 +0200 |
commit | 212e666d1eb143e171bf1044b3bd4b91320558cf (patch) | |
tree | 2105e5710260d1546d56a3720f3f74f67168674a /njam-1.25-gcc45-archlinux.patch | |
parent | 029e128568edff26256db5aa6fcfeb9294f60f6c (diff) | |
download | aur-212e666d1eb143e171bf1044b3bd4b91320558cf.tar.gz |
njam 1.25-7: fix compile errors
Compile errors fixed with a patch from Gentoo.
error: cannot call constructor ‘LogFile::LogFile’ directly
error: for a function-style cast, remove the redundant ‘::LogFile’
** Manually imported from AUR 3 **
Diffstat (limited to 'njam-1.25-gcc45-archlinux.patch')
-rw-r--r-- | njam-1.25-gcc45-archlinux.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/njam-1.25-gcc45-archlinux.patch b/njam-1.25-gcc45-archlinux.patch new file mode 100644 index 000000000000..763799e7aa28 --- /dev/null +++ b/njam-1.25-gcc45-archlinux.patch @@ -0,0 +1,25 @@ +Fix buiding with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=318411 + +Adapted for Arch Linux. +--- src/njamedit.cpp ++++ src/njamedit.cpp +@@ -114,7 +114,7 @@ + key = SDLK_a; + else if (CheckForSave()) + { +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(filename); + level_type_was = level_type; + changed = false; +@@ -139,7 +139,7 @@ + "levels/%s.%s", + #endif + filename, types[level_type]); +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(buf); + level_type_was = level_type; + changed = false; |