summaryrefslogtreecommitdiff
path: root/games/smc/smc-1.9_boost.patch
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-25 23:25:39 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-28 21:36:04 -0500
commitfaed9e22c5bd57c7e2f7c21d35901b9c986340e7 (patch)
treef993e9e7425440789d51c006fd58bbc89ab19972 /games/smc/smc-1.9_boost.patch
parentc87220dc7cca47c677ff9082acc3468b43e491c2 (diff)
downloadslackbuilds-faed9e22c5bd57c7e2f7c21d35901b9c986340e7.tar.gz
games/smc: Removed (build failure)
This release appears to be incompatible with CEGUI-0.7.x. http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=6185 Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/smc/smc-1.9_boost.patch')
-rw-r--r--games/smc/smc-1.9_boost.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/games/smc/smc-1.9_boost.patch b/games/smc/smc-1.9_boost.patch
deleted file mode 100644
index 5cbc40a48a..0000000000
--- a/games/smc/smc-1.9_boost.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Naur smc-1.9-orig/src/core/filesystem/filesystem.cpp smc-1.9/src/core/filesystem/filesystem.cpp
---- smc-1.9-orig/src/core/filesystem/filesystem.cpp 2009-07-04 05:11:18.000000000 -0500
-+++ smc-1.9/src/core/filesystem/filesystem.cpp 2009-09-07 00:28:01.000000000 -0500
-@@ -142,32 +142,32 @@
- if( fs::is_directory( *dir_itr ) )
- {
- // ignore hidden directories
-- if( dir_itr->path().leaf().find( "." ) == 0 )
-+ if( dir_itr->path().filename().find( "." ) == 0 )
- {
- continue;
- }
-
- if( with_directories )
- {
-- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
-+ valid_files.push_back( dir + "/" + dir_itr->path().filename() );
- }
-
- // load all items from the sub-directory
- if( search_in_sub_directories )
- {
-- vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().leaf(), file_type, with_directories );
-+ vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().filename(), file_type, with_directories );
- valid_files.insert( valid_files.end(), new_valid_files.begin(), new_valid_files.end() );
- }
- }
- // valid file
-- else if( file_type.empty() || dir_itr->path().leaf().rfind( file_type ) != std::string::npos )
-+ else if( file_type.empty() || dir_itr->path().filename().rfind( file_type ) != std::string::npos )
- {
-- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
-+ valid_files.push_back( dir + "/" + dir_itr->path().filename() );
- }
- }
- catch( const std::exception &ex )
- {
-- printf( "%s %s\n", dir_itr->path().leaf().c_str(), ex.what() );
-+ printf( "%s %s\n", dir_itr->path().filename().c_str(), ex.what() );
- }
- }
-
-diff -Naur smc-1.9-orig/src/overworld/world_manager.cpp smc-1.9/src/overworld/world_manager.cpp
---- smc-1.9-orig/src/overworld/world_manager.cpp 2009-08-16 11:44:52.000000000 -0500
-+++ smc-1.9/src/overworld/world_manager.cpp 2009-09-07 00:28:45.000000000 -0500
-@@ -118,7 +118,7 @@
- {
- try
- {
-- std::string current_dir = dir_itr->path().leaf();
-+ std::string current_dir = dir_itr->path().filename();
-
- // only directories with an existing description
- if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) )
-@@ -145,7 +145,7 @@
- }
- catch( const std::exception &ex )
- {
-- printf( "%s %s\n", dir_itr->path().leaf().c_str(), ex.what() );
-+ printf( "%s %s\n", dir_itr->path().filename().c_str(), ex.what() );
- }
- }
- }