head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2026.01.03.11.20.29; author wiz; state Exp; branches; next ; commitid VBHarupKfZvFeWoG; desc @@ 1.1 log @boxbackup*: fix build on NetBSD-current @ text @$NetBSD$ Add const to fix build problem with c++17. --- bin/bbstored/HousekeepStoreAccount.cpp.orig 2026-01-03 11:14:28.618627983 +0000 +++ bin/bbstored/HousekeepStoreAccount.cpp @@@@ -655,7 +655,7 @@@@ bool HousekeepStoreAccount::ScanDirector // Created: 11/12/03 // // -------------------------------------------------------------------------- -bool HousekeepStoreAccount::DelEnCompare::operator()(const HousekeepStoreAccount::DelEn &x, const HousekeepStoreAccount::DelEn &y) +bool HousekeepStoreAccount::DelEnCompare::operator()(const HousekeepStoreAccount::DelEn &x, const HousekeepStoreAccount::DelEn &y) const { // STL spec says this: // A Strict Weak Ordering is a Binary Predicate that compares two objects, returning true if the first precedes the second. @