Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37522143
en ru br
ALT Linux repositórios
S:0.5-alt2.1

Group :: Jogos/Arcade
RPM: violetland

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: violetland-v0.4.3-boost1.51.patch
Download


diff -ur violetland-v0.4.3/CMakeLists.txt violetland-v0.4.3.new/CMakeLists.txt
--- violetland-v0.4.3/CMakeLists.txt	2012-10-25 13:33:44.000000000 +0000
+++ violetland-v0.4.3.new/CMakeLists.txt	2012-10-25 10:04:16.835289639 +0000
@@ -8,7 +8,6 @@
 find_package(SDL_mixer REQUIRED)
 find_package(OpenGL REQUIRED)
 find_package(Boost COMPONENTS filesystem system REQUIRED)
-add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
 
 if(${MINGW})
 	set(INTL_LIBRARY intl)
diff -ur violetland-v0.4.3/src/system/utility/FileUtility.cpp violetland-v0.4.3.new/src/system/utility/FileUtility.cpp
--- violetland-v0.4.3/src/system/utility/FileUtility.cpp	2012-10-25 13:33:44.000000000 +0000
+++ violetland-v0.4.3.new/src/system/utility/FileUtility.cpp	2012-10-25 10:40:04.986273041 +0000
@@ -20,7 +20,7 @@
 
 	while (dir_it != boost::filesystem::directory_iterator()) {
 		if (boost::filesystem::is_regular_file(*dir_it))
-			files.push_back(dir_it->filename());
+			files.push_back(dir_it->path().filename().string());
 		++dir_it;
 	}
 	return files;
@@ -32,8 +32,8 @@
 
 	while (dir_it != boost::filesystem::directory_iterator()) {
 		if (boost::filesystem::is_directory(*dir_it))
-			if (dir_it->path().filename()[0] != '.')
-				subDirs.push_back(dir_it->path().filename());
+			if (dir_it->path().filename().string()[0] != '.')
+				subDirs.push_back(dir_it->path().filename().string());
 		++dir_it;
 	}
 	return subDirs;
@@ -45,7 +45,7 @@
 
 	while (dir_it != boost::filesystem::directory_iterator()) {
 		if (boost::filesystem::is_directory(*dir_it))
-			if (dir_it->path().filename()[0] != '.')
+			if (dir_it->path().filename().string()[0] != '.')
 				++count;
 		++dir_it;
 	}
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009