pkgsrc/wm/fluxbox/patches/patch-bg
2012-04-17 20:08:06 +00:00

15 lines
626 B
Text

$NetBSD: patch-bg,v 1.2 2012/04/17 20:08:06 bsiegert Exp $
For some reason, sunpro requires a syntactically equal definition.
--- src/FbTk/StringUtil.cc.orig Sat Oct 29 13:45:51 2011
+++ src/FbTk/StringUtil.cc
@@ -247,7 +247,7 @@ string replaceString(const string &origi
for the position + 1 in the in-string where the "last"-char value
was found.
*/
-int getStringBetween(string& out, const char *instr, char first, char last,
+int getStringBetween(std::string& out, const char *instr, char first, char last,
const char *ok_chars, bool allow_nesting) {
assert(first);
assert(last);