diff options
| author | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-01 07:26:20 +0000 |
|---|---|---|
| committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-01 07:26:20 +0000 |
| commit | a50bdf7656041aa0c6a346e6e2ab2137e6756c0c (patch) | |
| tree | c7280478a9e0ab11465be9c803de37cb40a54529 /net/gatekeeper/files/patch-capctrl-cxx | |
| parent | - Update to 1.19.0.1 (diff) | |
- Fix build after devel/pwlib updated to 1.12.0
PR: ports/119375
Submitted by: Steve Ames <steve at energistic.com> (maintainer of devel/pwlib)
Approved by: maintainer timeout (2 months)
Diffstat (limited to '')
| -rw-r--r-- | net/gatekeeper/files/patch-capctrl-cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/gatekeeper/files/patch-capctrl-cxx b/net/gatekeeper/files/patch-capctrl-cxx new file mode 100644 index 000000000000..59301779557e --- /dev/null +++ b/net/gatekeeper/files/patch-capctrl-cxx @@ -0,0 +1,22 @@ +--- capctrl.cxx 2006-01-27 07:59:49.000000000 -0500 ++++ capctrl.cxx 2006-12-13 10:34:22.000000000 -0500 +@@ -173,8 +173,8 @@ + + cliCallVolumes.resize(cliCallVolumes.size() + 1); + cliRule = cliCallVolumes.end() - 1; +- cliRule->first = cli; +- cliRule->second.m_sourceCLI = cli; ++ cliRule->first = string((const char*)cli); ++ cliRule->second.m_sourceCLI = string((const char*)cli); + newCLIRule = true; + + rule = &(cliRule->second); +@@ -201,7 +201,7 @@ + + unsigned tno = 0; + if (tokens.GetSize() >= 2) +- rule->m_prefix = tokens[tno++]; ++ rule->m_prefix = string((const char*)(tokens[tno++])); + rule->m_maxVolume = tokens[tno++].AsUnsigned(); + + if (newIpRule) |
