Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:libraries
permissions
fix-includes-for-old-gcc.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-includes-for-old-gcc.diff of Package permissions
--- a/Makefile +++ b/Makefile @@ -16,3 +16,3 @@ DESTDIR= -LDLIBS=-lcap +LDLIBS=-lcap -lstdc++fs prefix=/usr --- a/src/chkstat.cpp +++ b/src/chkstat.cpp @@ -43,3 +43,3 @@ #include <cstring> -#include <filesystem> +#include <experimental/filesystem> #include <fstream> @@ -378,3 +378,3 @@ } - catch( const std::filesystem::filesystem_error &ex ) + catch( const std::experimental::filesystem::filesystem_error &ex ) { @@ -410,5 +410,5 @@ - for (const auto &entry: std::filesystem::directory_iterator(dir)) + for (const auto &entry: std::experimental::filesystem::directory_iterator(dir)) { - if (!entry.is_regular_file()) + if (!std::experimental::filesystem::is_regular_file(entry.path())) continue; @@ -1093,4 +1093,5 @@ // found in the profiles, not data modified by program logic underway. - for (auto& [path, entry]: m_profile_entries) + for (auto &pair: m_profile_entries) { + auto &entry = pair.second; EntryContext ctx; @@
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor