freebsd-ports/x11-wm/wmanager/files/patch-inc::WManager.H
Peter Pentchev f2cd05db50 Add two patches for stricter C++ compliance taken from the Debian package
of wmanager.
Add an optional (on by default) dependency on the wmanager-addons port
containing two helper scripts and some manual pages.
Fix the path to the docs in pkg-message and add a reference to
the sample files' directory.  This still leaves a portlint warning about
absolute paths which will be fixed after the repo-copy in PR 123864.
Add a Makefile patch that I also added to the Debian package to make
wmanager build in the same way on all OS's.
2008-05-24 16:15:52 +00:00

25 lines
652 B
C++

diff -urN -urN -x .svn ../vendor/wmanager/inc/WManager.H ./inc/WManager.H
--- ../vendor/wmanager/inc/WManager.H 2007-12-11 12:42:04.000000000 +0200
+++ ./inc/WManager.H 2007-12-17 16:00:13.000000000 +0200
@@ -80,17 +80,17 @@
private:
Interface* _Interface;
- string* _ConfigurationFilename;
+ std::string* _ConfigurationFilename;
void
- _ParseConfigurationFile(ifstream* filestream);
+ _ParseConfigurationFile(std::ifstream* filestream);
void
_TokenizeAndAddToBrowser(char* entry);
char*
- _CutString(char* str,
- char* sub);
+ _CutString(const char* str,
+ const char* sub);
};
#endif // WManager_H