diff options
author | joerg <joerg@pkgsrc.org> | 2013-04-29 21:28:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-04-29 21:28:56 +0000 |
commit | 0a5f84a912074adb51a614e31607e7ab495cc90a (patch) | |
tree | eeb78537bd27b4587780c820623f09c4a3587371 /www/cgicc | |
parent | 0bf668714eee53ec077fd8a8f09fb086003a7ceb (diff) | |
download | pkgsrc-0a5f84a912074adb51a614e31607e7ab495cc90a.tar.gz |
Be explicit about using the local copy_if, it is part of C++11 and now
the look up is ambigious.
Diffstat (limited to 'www/cgicc')
-rw-r--r-- | www/cgicc/distinfo | 3 | ||||
-rw-r--r-- | www/cgicc/patches/patch-cgicc_Cgicc.cpp | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/www/cgicc/distinfo b/www/cgicc/distinfo index 8952097ce3e..4bb65126247 100644 --- a/www/cgicc/distinfo +++ b/www/cgicc/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2011/03/17 14:48:50 adam Exp $ +$NetBSD: distinfo,v 1.5 2013/04/29 21:28:56 joerg Exp $ SHA1 (cgicc-3.2.9.tar.gz) = 161fbf98a20f0df388148aba87f1e6da432de63c RMD160 (cgicc-3.2.9.tar.gz) = 133b85d148242d3cc9e7b2f3506839f1a1a3e61c Size (cgicc-3.2.9.tar.gz) = 2087796 bytes +SHA1 (patch-cgicc_Cgicc.cpp) = 27d71d3e429e902e7263df290516e7495a581cc9 diff --git a/www/cgicc/patches/patch-cgicc_Cgicc.cpp b/www/cgicc/patches/patch-cgicc_Cgicc.cpp new file mode 100644 index 00000000000..e185944fd74 --- /dev/null +++ b/www/cgicc/patches/patch-cgicc_Cgicc.cpp @@ -0,0 +1,18 @@ +$NetBSD: patch-cgicc_Cgicc.cpp,v 1.1 2013/04/29 21:28:56 joerg Exp $ + +--- cgicc/Cgicc.cpp.orig 2013-04-29 20:15:30.000000000 +0000 ++++ cgicc/Cgicc.cpp +@@ -324,11 +324,11 @@ cgicc::Cgicc::findEntries(const std::str + result.clear(); + + if(byName) { +- copy_if(fFormData.begin(), fFormData.end(), ++ ::cgicc::copy_if(fFormData.begin(), fFormData.end(), + std::back_inserter(result),FE_nameCompare(param)); + } + else { +- copy_if(fFormData.begin(), fFormData.end(), ++ ::cgicc::copy_if(fFormData.begin(), fFormData.end(), + std::back_inserter(result), FE_valueCompare(param)); + } + |