diff options
Diffstat (limited to 'net-dns/pdns/files/2.9.18-ldap-fix.patch')
-rw-r--r-- | net-dns/pdns/files/2.9.18-ldap-fix.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/net-dns/pdns/files/2.9.18-ldap-fix.patch b/net-dns/pdns/files/2.9.18-ldap-fix.patch deleted file mode 100644 index 15b0f86847a7..000000000000 --- a/net-dns/pdns/files/2.9.18-ldap-fix.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: modules/ldapbackend/utils.hh -=================================================================== ---- modules/ldapbackend/utils.hh (revision 452) -+++ modules/ldapbackend/utils.hh (revision 453) -@@ -73,7 +73,7 @@ - } - - --inline string ip2ptr4( string ip ) -+inline string ip2ptr4( const string& ip ) - { - string ptr; - vector<string> parts; -@@ -89,7 +89,7 @@ - } - - --inline string ip2ptr6( string ip ) -+inline string ip2ptr6( const string& ip ) - { - string ptr, part, defstr; - vector<string> parts; -@@ -116,4 +116,19 @@ - return ptr + "ip6.arpa"; - } - -+ -+inline string strbind( const string& search, const string& replace, string subject ) -+{ -+ size_t pos = 0; -+ -+ -+ while( ( pos = subject.find( search, pos ) ) != string::npos ) -+ { -+ subject.replace( pos, search.size(), replace ); -+ pos += replace.size(); -+ } -+ -+ return subject; -+} -+ - #endif |