Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292301 Details for
Bug 390285
[sunrise overlay] Patch to get app-misc/gizmod-3.5 to work with recent boost
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to use current boost api
gizmod-3.5-currentBoost.patch (text/plain), 2.46 KB, created by
Simon Kohlmeyer
on 2011-11-12 17:23:07 UTC
(
hide
)
Description:
patch to use current boost api
Filename:
MIME Type:
Creator:
Simon Kohlmeyer
Created:
2011-11-12 17:23:07 UTC
Size:
2.46 KB
patch
obsolete
>diff -urN -x build gizmod-3.5/gizmod/GizmoDaemon.cpp gizmod-3.5-fixed/gizmod/GizmoDaemon.cpp >--- gizmod-3.5/gizmod/GizmoDaemon.cpp 2008-11-09 19:21:53.000000000 +0100 >+++ gizmod-3.5-fixed/gizmod/GizmoDaemon.cpp 2011-11-12 17:04:11.318846146 +0100 >@@ -1106,7 +1106,7 @@ > directory_iterator endItr; > for (directory_iterator iter(UserScriptDir); iter != endItr; iter ++) { > if (filesystem::is_directory(*iter)) >- ret += "sys.path.insert(0, \"" + iter->string() + "\")\n"; >+ ret += "sys.path.insert(0, \"" + iter->path().string() + "\")\n"; > } > > return ret; >@@ -1564,7 +1564,7 @@ > directory_iterator endItr; > for (directory_iterator iter(mConfigDir + USER_SCRIPT_DIR); iter != endItr; iter ++) { > if ( (!filesystem::is_directory(*iter)) && (!filesystem::symbolic_link_exists(*iter)) ) { >- UserScripts.push_back(iter->path().leaf()); >+ UserScripts.push_back(iter->path().filename().string()); > } > } > >@@ -2189,9 +2189,9 @@ > directory_iterator endItr; > for (directory_iterator iter(mEventsDir); iter != endItr; iter ++) { > if ( (!filesystem::is_directory(*iter)) && (!filesystem::symbolic_link_exists(*iter)) ) { >- if (iter->path().leaf().find("event") != 0) >+ if (iter->path().filename().string().find("event") != 0) > continue; >- eventsFiles.push_back(mEventsDir + "/" + iter->path().leaf()); >+ eventsFiles.push_back(mEventsDir + "/" + iter->path().filename().string()); > } > } > >diff -urN -x build gizmod-3.5/gizmod/Main.cpp gizmod-3.5-fixed/gizmod/Main.cpp >--- gizmod-3.5/gizmod/Main.cpp 2007-11-07 13:22:02.000000000 +0100 >+++ gizmod-3.5-fixed/gizmod/Main.cpp 2011-11-12 17:12:53.052088191 +0100 >@@ -53,9 +53,6 @@ > * Instantiate the main object, and run > **/ > int main (int argc, char * argv []) { >- // set filesystem to native filesystem checking >- path::default_name_check(native); >- > bool ReloadGizmod; > do { > // create the Gizmod >diff -urN -x build gizmod-3.5/libGizmod/Processes.cpp gizmod-3.5-fixed/libGizmod/Processes.cpp >--- gizmod-3.5/libGizmod/Processes.cpp 2007-11-07 13:22:02.000000000 +0100 >+++ gizmod-3.5-fixed/libGizmod/Processes.cpp 2011-11-12 16:42:03.226688486 +0100 >@@ -154,7 +154,7 @@ > // get a file listing > directory_iterator endItr; > for (directory_iterator iter(PROC_PATH); iter != endItr; iter ++) { >- string StatPath = iter->string() + "/stat"; >+ string StatPath = iter->path().string() + "/stat"; > try { > if ( (filesystem::is_directory(*iter)) && (filesystem::exists(path(StatPath))) ) { > ifstream StatFile(StatPath.c_str());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390285
: 292301 |
292303