summaryrefslogtreecommitdiffstats
path: root/games/smc/smc1.8_boost1.36.patch
diff options
context:
space:
mode:
author Phillip Warner <pc_warner@yahoo.com>2010-05-12 17:39:33 +0200
committer Erik Hanson <erik@slackbuilds.org>2010-05-12 17:39:33 +0200
commit6a623a00505ef96db310db982026fcc269039a65 (patch)
treef0c840b26489ceb00435e494ec5c5d387ce6e09e /games/smc/smc1.8_boost1.36.patch
parent068409fd7d92cb103292af0e425d90b553e353d4 (diff)
downloadslackbuilds-6a623a00505ef96db310db982026fcc269039a65.tar.gz
slackbuilds-6a623a00505ef96db310db982026fcc269039a65.tar.xz
games/smc: Updated for version 1.8
Diffstat (limited to '')
-rw-r--r--games/smc/smc1.8_boost1.36.patch (renamed from games/smc/smc1.6_boost1.36.patch)26
1 files changed, 13 insertions, 13 deletions
diff --git a/games/smc/smc1.6_boost1.36.patch b/games/smc/smc1.8_boost1.36.patch
index c489bb514b..3f8c8173a5 100644
--- a/games/smc/smc1.6_boost1.36.patch
+++ b/games/smc/smc1.8_boost1.36.patch
@@ -1,7 +1,7 @@
-diff -Naur smc-1.6-orig/src/core/game_core.cpp smc-1.6/src/core/game_core.cpp
---- smc-1.6-orig/src/core/game_core.cpp 2008-09-26 13:55:50.000000000 -0500
-+++ smc-1.6/src/core/game_core.cpp 2008-10-12 22:01:35.000000000 -0500
-@@ -1577,32 +1577,32 @@
+diff -Naru smc-1.8-orig/src/core/game_core.cpp smc-1.8/src/core/game_core.cpp
+--- smc-1.8-orig/src/core/game_core.cpp 2009-04-08 00:48:08.000000000 -0500
++++ smc-1.8/src/core/game_core.cpp 2009-06-05 23:26:43.000000000 -0500
+@@ -1632,32 +1632,32 @@
if( fs::is_directory( *dir_itr ) )
{
// ignore hidden directories
@@ -26,8 +26,8 @@ diff -Naur smc-1.6-orig/src/core/game_core.cpp smc-1.6/src/core/game_core.cpp
}
}
// valid file
-- else if( file_type.empty() || dir_itr->leaf().rfind( file_type ) != string::npos )
-+ else if( file_type.empty() || dir_itr->filename().rfind( file_type ) != string::npos )
+- else if( file_type.empty() || dir_itr->leaf().rfind( file_type ) != std::string::npos )
++ else if( file_type.empty() || dir_itr->filename().rfind( file_type ) != std::string::npos )
{
- valid_files.push_back( dir + "/" + dir_itr->leaf() );
+ valid_files.push_back( dir + "/" + dir_itr->filename() );
@@ -40,19 +40,19 @@ diff -Naur smc-1.6-orig/src/core/game_core.cpp smc-1.6/src/core/game_core.cpp
}
}
-diff -Naur smc-1.6-orig/src/overworld/world_manager.cpp smc-1.6/src/overworld/world_manager.cpp
---- smc-1.6-orig/src/overworld/world_manager.cpp 2008-07-01 16:11:12.000000000 -0500
-+++ smc-1.6/src/overworld/world_manager.cpp 2008-10-12 22:01:42.000000000 -0500
-@@ -111,7 +111,7 @@
+diff -Naru smc-1.8-orig/src/overworld/world_manager.cpp smc-1.8/src/overworld/world_manager.cpp
+--- smc-1.8-orig/src/overworld/world_manager.cpp 2009-02-17 22:10:12.000000000 -0600
++++ smc-1.8/src/overworld/world_manager.cpp 2009-06-05 23:27:21.000000000 -0500
+@@ -116,7 +116,7 @@
{
try
{
-- string current_dir = dir_itr->leaf();
-+ string current_dir = dir_itr->filename();
+- std::string current_dir = dir_itr->leaf();
++ std::string current_dir = dir_itr->filename();
// only directories with an existing description
if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) )
-@@ -138,7 +138,7 @@
+@@ -143,7 +143,7 @@
}
catch( const std::exception &ex )
{